From c7eb275e50474ce5240ec020923499f1632303c4 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Mon, 21 Sep 2020 15:04:43 +0200 Subject: [PATCH] WIP: Remove get_error() function --- tests/test_tickets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tickets.py b/tests/test_tickets.py index 21efb00..1651e25 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(): -- GitLab