diff --git a/tests/test_tickets.py b/tests/test_tickets.py index 88b214303d0133ada60763485bf1a3a7772db96f..6e2b66efd51376409c2a68d67fb54e780f414237 100644 --- a/tests/test_tickets.py +++ b/tests/test_tickets.py @@ -88,7 +88,7 @@ def test_ticket_103a(): rt.update(strict=True) exc = e.value print(exc) - assert 128 == exc.get_errors()[0].get_code() + assert 128 == int(exc.get_errors()[0].get_code()) rt = exc.get_entities()[0] assert not rt.is_valid() @@ -99,7 +99,7 @@ def test_ticket_103a(): assert haswarnings for w in rt.get_errors(): - if w.get_code() == 128: + if int(w.get_code()) == 128: hasstricterror = True break