Skip to content
Snippets Groups Projects
Commit 629183cf authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Merge branch 'f-test-merge' into f-review-lists-and-compare

parents d006797d 58166513
No related branches found
No related tags found
2 merge requests!159Release 0.16.o,!157compare entities and parent/property lists
......@@ -764,6 +764,16 @@ B: something else"""
assert recB.get_property("propA").unit == "cm"
# test whether an id is correctly overwritten by an entity without id
recA = db.Record().add_parent("A").add_property(name="B", value=112)
newRec = db.Record()
recB = db.Record().add_parent("A").add_property(name="B", value=newRec)
merge_entities(recA, recB, force=True)
assert recA.get_property("B").value == newRec
def test_merge_missing_list_datatype_82():
"""Merging two properties, where the list-valued one has no datatype."""
......
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