diff --git a/unittests/test_tool.py b/unittests/test_tool.py index a08251512bd85107eae98c3a87aecd1e039b661a..67ecc240c7ddf73b41c9b7e247f74d54b5fbae15 100755 --- a/unittests/test_tool.py +++ b/unittests/test_tool.py @@ -520,10 +520,10 @@ def test_all_references_are_existing_already(crawler): .add_property('b', db.Record(id=123))) # entity to be referenced in the following a = db.Record(name="C").add_parent("C").add_property("d", 12311) - # one ref with id one with Entity without id (but not identifying) -> check - assert crawler.all_references_are_existing_already(db.Record(name="C").add_parent("C") - .add_property('d', 123) - .add_property('e', a)) + # one ref with id one with Entity without id (but not identifying) -> fail + assert not crawler.all_references_are_existing_already(db.Record(name="C").add_parent("C") + .add_property('d', 123) + .add_property('e', a)) # one ref with id one with Entity without id (mixed) -> fail assert not crawler.all_references_are_existing_already(db.Record(name="D").add_parent("D")