diff --git a/unittests/test_sync_node.py b/unittests/test_sync_node.py index 8526678992925dee8360a2f286fbead89d9513d0..09eedd9f8a46327376b19abb809af115a68b628e 100644 --- a/unittests/test_sync_node.py +++ b/unittests/test_sync_node.py @@ -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))