Skip to content
Snippets Groups Projects
Verified Commit 487a5097 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

TEST: xfail for issue 111

parent d1cc881c
No related branches found
No related tags found
1 merge request!123TEST: xfail for issue 111
Pipeline #44117 failed
......@@ -362,6 +362,15 @@ def test_bug_109():
r_a)
@pytest.mark.xfail(reason="Issue https://gitlab.com/linkahead/linkahead-pylib/-/issues/111")
def test_failing_merge_entities_111():
prop_a = db.Property()
prop_b = db.Property(name="b", datatype=db.TEXT)
db.apiutils.merge_entities(prop_a, prop_b)
assert prop_a.name == "b" # OK
assert prop_a.datatype == db.TEXT # fails
def test_wrong_merge_conflict_reference():
"""Test a wrongly detected merge conflict in case of two records referencing
two different, but identical objects.
......
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