Skip to content
Snippets Groups Projects
Commit 285ec203 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

TST: add failing test for 135

parent 5d6fa0ce
No related branches found
No related tags found
No related merge requests found
Pipeline #30963 passed
...@@ -1125,3 +1125,12 @@ def test_177(): ...@@ -1125,3 +1125,12 @@ def test_177():
db.Property("TestProp", datatype=db.TEXT).insert() db.Property("TestProp", datatype=db.TEXT).insert()
db.RecordType("TestSubRT").add_property("TestProp").add_parent("TestRT").insert() db.RecordType("TestSubRT").add_property("TestProp").add_parent("TestRT").insert()
@pytest.mark.xfail(reason="Fix https://gitlab.com/caosdb/caosdb-server/-/issues/135")
def test_135():
db.RecordType("TestRT1").insert()
db.Property("TestProp", datatype=db.LIST("TestRT1")).insert()
r1 = db.Record().add_parent("TestRT1").insert()
r2 = db.Record().add_parent("TestRT1").add_property("TestProp", r1).insert()
assert len(db.execute_query("FIND ENTITY WHICH IS REFERENCED BY A TestRT1 AS TestProp")) == 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment