Skip to content
Snippets Groups Projects
Commit 72ce7aca authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

TST: added a test of a duplicated property

parent b7d3781a
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!167Sync Graph
Pipeline #51282 passed with warnings
......@@ -117,6 +117,11 @@ def test_sync_node():
assert p in sn_a.parents
for p in rec_a.properties + rec_b.properties:
assert p in sn_a.properties
# Check for duplicated property:
ps = [p for p in sn_a.properties if p.name == "a"]
assert len(ps) == 2
assert ps[0].value == "a"
assert ps[1].value == "a"
# test information in exported entity
export = sn_a.export_entity()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment