6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 21:43:06 +01:00

Added pytest.mark.intl to have ability filtering these files if only QA-run related to non-ascii data is needed.

This commit is contained in:
pavel-zotov 2024-10-31 01:17:54 +03:00
parent 86b78aa07e
commit 90951ffe14
5 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@ JIRA: CORE-857
FBTEST: bugs.core_0857 FBTEST: bugs.core_0857
NOTES: NOTES:
[31.10.2024] pzotov [31.10.2024] pzotov
Bug was fixed for too old FB (2.0 RC4 / 2.1 ALpha 1), firebird-driver and/or QA-plugin Bug was fixed for too old FB (2.0 RC4 / 2.1 Alpha 1), firebird-driver and/or QA-plugin
will not able to run on this version in order to reproduce problem. will not able to run on this version in order to reproduce problem.
Checked on 6.0.0.511 (Windows/Linux); 5.0.2.1550; 4.0.6.3165; 3.0.2.32670, 3,0,1,32609 Checked on 6.0.0.511 (Windows/Linux); 5.0.2.1550; 4.0.6.3165; 3.0.2.32670, 3,0,1,32609
@ -23,6 +23,7 @@ db = db_factory(charset='WIN1252')
act = isql_act('db', substitutions=[('[ \\t]+', ' ')]) act = isql_act('db', substitutions=[('[ \\t]+', ' ')])
tmp_sql = temp_file('tmp_core_0857.sql') tmp_sql = temp_file('tmp_core_0857.sql')
@pytest.mark.intl
@pytest.mark.version('>=3.0.0') @pytest.mark.version('>=3.0.0')
def test_1(act: Action, tmp_sql: Path): def test_1(act: Action, tmp_sql: Path):

View File

@ -23,6 +23,7 @@ db = db_factory(charset='ISO8859_1')
act = isql_act('db', substitutions=[('=.*', ''), ('[ \\t]+', ' ')]) act = isql_act('db', substitutions=[('=.*', ''), ('[ \\t]+', ' ')])
tmp_sql = temp_file('tmp_core_1366.sql') tmp_sql = temp_file('tmp_core_1366.sql')
@pytest.mark.intl
@pytest.mark.version('>=3.0.0') @pytest.mark.version('>=3.0.0')
def test_1(act: Action, tmp_sql: Path): def test_1(act: Action, tmp_sql: Path):

View File

@ -28,6 +28,7 @@ act = isql_act('db', substitutions = [ ('[ \\t]+', ' '), ('TCPv(4|6)', 'TCP') ])
tmp_sql = temp_file('tmp_core_2227.sql') tmp_sql = temp_file('tmp_core_2227.sql')
@pytest.mark.intl
@pytest.mark.version('>=3.0.0') @pytest.mark.version('>=3.0.0')
def test_1(act: Action, tmp_sql: Path): def test_1(act: Action, tmp_sql: Path):
test_script = f""" test_script = f"""

View File

@ -47,6 +47,7 @@ expected_stdout = """
tmp_sql = temp_file('tmp_core_3489.sql') tmp_sql = temp_file('tmp_core_3489.sql')
@pytest.mark.intl
@pytest.mark.version('>=3.0.0') @pytest.mark.version('>=3.0.0')
def test_1(act: Action, tmp_sql: Path): def test_1(act: Action, tmp_sql: Path):
tmp_sql.write_text( tmp_sql.write_text(

View File

@ -39,6 +39,7 @@ act = isql_act('db', substitutions = [('TCPv(4|6)', 'TCP')])
tmp_sql = temp_file('tmp_core_5464.sql') tmp_sql = temp_file('tmp_core_5464.sql')
@pytest.mark.intl
@pytest.mark.version('>=3.0.1') @pytest.mark.version('>=3.0.1')
def test_1(act: Action, tmp_sql: Path, capsys): def test_1(act: Action, tmp_sql: Path, capsys):