Skip to content
Snippets Groups Projects
Commit 78ba17ee authored by florian's avatar florian
Browse files

WIP: Remove TransactionError.get_code() function

parent aac37ca8
Branches
Tags
No related merge requests found
...@@ -87,7 +87,7 @@ def test_ticket_103a(): ...@@ -87,7 +87,7 @@ def test_ticket_103a():
rt.update(strict=True) rt.update(strict=True)
exc = e.value exc = e.value
print(exc) print(exc)
assert 128 == int(exc.get_errors()[0].get_code()) assert 128 == int(exc.errors[0].code)
rt = exc.entities[0] rt = exc.entities[0]
assert not rt.is_valid() assert not rt.is_valid()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment