Skip to content
Snippets Groups Projects
Commit 7ff260df authored by florian's avatar florian
Browse files

BUG: Fix syntax

parent 558c3aa0
No related branches found
No related tags found
No related merge requests found
......@@ -178,11 +178,10 @@ def test_wrong_refid():
value=rec2.id)
with raises(db.TransactionError):
rec3.insert()
except db.TransactionError:
desc = ('Reference not qualified. The value of this Reference '
'Property is to be a child of its data type.')
err = rec3.get_property("TestP1").get_errors()[0]
assert err.description == desc
desc = ('Reference not qualified. The value of this Reference '
'Property is to be a child of its data type.')
err = rec3.get_property("TestP1").get_errors()[0]
assert err.description == desc
rec4 = db.Record().add_parent(
name="TestRT3").add_property(
......
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