Skip to content

Commit 62a661a

Browse files
committed
Added import DatabaseError needed to proper handling possible exception
1 parent c8ba8b3 commit 62a661a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/functional/fkey/primary/test_insert_pk_07.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import pytest
1818
from firebird.qa import *
19-
from firebird.driver import tpb, Isolation
19+
from firebird.driver import tpb, Isolation, DatabaseError
2020

2121
init_script = """
2222
create table master_table (

tests/functional/syspriv/test_trace_any_attachment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import locale
2222
import re
2323
from firebird.qa import *
24+
from firebird.driver import DatabaseError
2425

2526
db = db_factory()
2627
tmp_user = user_factory('db', name='tmp_syspriv_user', password='123')

0 commit comments

Comments
 (0)