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

TST: added a test for single properties

parent b307817b
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!167Sync Graph
Pipeline #51285 passed with warnings
......@@ -248,6 +248,8 @@ def test_export_node():
exp = SyncNode(rec_a).export_entity()
assert exp.get_property('a').value.id == 1
# SyncNodes convert multi properties into single properties
assert len([p for p in exp.properties if p.name == "a"]) == 1
# same SyncNode object is obviously equal
sn = SyncNode(db.Record(id=1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment