diff --git a/tests/test_tickets.py b/tests/test_tickets.py index 21efb005454cf436f9e60f3eb09b594a18f45cae..1651e259ee8285806e505214ea80ec6885a4b976 100644 --- a/tests/test_tickets.py +++ b/tests/test_tickets.py @@ -605,7 +605,7 @@ def test_ticket_128(): try: db.execute_query(r"FIND 5\#):xw;;-`;BY6~PjsI^*g.$+eY#n.aA9zm") except TransactionError as e: - assert 13 == int(e.get_error().code) + assert 13 == int(e.error.code) def test_ticket_123a():