From 272bbc46e3e6d6a1861ea781c9d161a524cf1b45 Mon Sep 17 00:00:00 2001
From: Alexander Schlemmer <a.schlemmer@indiscale.com>
Date: Thu, 24 Oct 2024 12:02:31 +0200
Subject: [PATCH] TST: removed commented test

---
 integrationtests/test_issues.py | 32 --------------------------------
 1 file changed, 32 deletions(-)

diff --git a/integrationtests/test_issues.py b/integrationtests/test_issues.py
index 7b619055..6e603351 100644
--- a/integrationtests/test_issues.py
+++ b/integrationtests/test_issues.py
@@ -375,35 +375,3 @@ def test_issue_14(clear_database):
     assert records[0].get_property("RT2").value == f_test.id
 
 
-
-# Another bug: set id of node?
-# def test_issue_14(clear_database):
-#     """
-#     Issue title: Some parent updates are required before inserts
-#
-#     https://gitlab.indiscale.com/caosdb/src/caosdb-crawler/-/issues/14
-#     """
-#
-#     rt1 = db.RecordType(name="RT1")
-#     rt2 = db.RecordType(name="RT2").insert()
-#     rt1.add_property(rt2, importance=db.OBLIGATORY)
-#     rt1.insert()
-#
-#     r = db.Record()
-#     r.add_parent(rt1)
-#     with tempfile.NamedTemporaryFile() as tmpf:
-#         f = db.File(name="test_parent", path="parent_test/file.txt", file=tmpf.name)
-#         f.insert()
-#
-#     f2 = db.File(name="test_parent").retrieve()
-#     f2.add_parent(rt2)
-#     r.add_property(name="RT2", value=f2)
-#     # cont = db.Container([f2, r])
-#
-#     ident = CaosDBIdentifiableAdapter()
-#     ident.register_identifiable("R1", db.RecordType().add_parent(
-#         name="R1").add_property(name="R2"))
-#     crawler = Crawler(identifiableAdapter=ident)
-#     crawler.synchronize(crawled_data=[f2, r])
-#     breakpoint()
-
-- 
GitLab