mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 13:33:07 +01:00
Added/Updated tests\bugs\gh_7749_test.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs.
This commit is contained in:
parent
0e826dbced
commit
deebc8a3b1
@ -12,6 +12,10 @@ DESCRIPTION:
|
||||
NOTES:
|
||||
[03.10.2023] pzotov
|
||||
Checked on 6.0.0.66 (Intermediate build).
|
||||
[14.12.2023] pzotov
|
||||
Added 'SQLSTATE' in substitutions: runtime error must not be filtered out by '?!(...)' pattern
|
||||
("negative lookahead assertion", see https://docs.python.org/3/library/re.html#regular-expression-syntax).
|
||||
Added 'combine_output = True' in order to see SQLSTATE if any error occurs.
|
||||
"""
|
||||
|
||||
import pytest
|
||||
@ -19,7 +23,7 @@ from firebird.qa import *
|
||||
|
||||
db = db_factory(charset = 'utf8')
|
||||
|
||||
substitutions = [ ('^((?!(IMPLICIT|EXPLICIT|BINARY)).)*$', ''), ]
|
||||
substitutions = [ ('^((?!(SQLSTATE|IMPLICIT|EXPLICIT|BINARY)).)*$', ''), ]
|
||||
act = python_act('db', substitutions = substitutions)
|
||||
|
||||
@pytest.mark.version('>=6.0')
|
||||
|
Loading…
Reference in New Issue
Block a user