diff --git a/tests/test_tickets.py b/tests/test_tickets.py
index 783d2ea7220a0da477d18c4b73c4e37093560527..21efb005454cf436f9e60f3eb09b594a18f45cae 100644
--- a/tests/test_tickets.py
+++ b/tests/test_tickets.py
@@ -87,7 +87,7 @@ def test_ticket_103a():
             rt.update(strict=True)
         exc = e.value
         print(exc)
-        assert 128 == int(exc.get_errors()[0].get_code())
+        assert 128 == int(exc.errors[0].code)
         rt = exc.entities[0]
         assert not rt.is_valid()