diff --git a/integrationtests/test_issues.py b/integrationtests/test_issues.py index 8357388df3af229e58fac8306c661766ce22eb10..0506fa4db03e9b3638051e6ec4fa132bd348a988 100644 --- a/integrationtests/test_issues.py +++ b/integrationtests/test_issues.py @@ -383,6 +383,14 @@ Block: crawler = Crawler(identifiableAdapter=ident) crawler.synchronize(crawled_data=records) + exp_res = db.execute_query("FIND Experiment") + assert len(exp_res) == 1 + exp_block = db.execute_query("FIND Block") + assert len(exp_block) == 1 + + assert exp_res[0].get_property("Block").value == exp_block[0].id + assert exp_block[0].get_property("Experiment").value == exp_res[0].id + def test_issue_14(clear_database): """