6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Added/Updated tests\bugs\core_3092_test.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc).

This commit is contained in:
pavel-zotov 2023-11-26 01:09:42 +03:00
parent 2306a05648
commit 36d2be1871

View File

@ -7,6 +7,9 @@ TITLE: ROW_COUNT is not cleared before the singleton INSERT statement
DESCRIPTION:
JIRA: CORE-3092
FBTEST: bugs.core_3092
NOTES:
[25.11.2023] pzotov
Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc).
"""
import pytest
@ -48,7 +51,7 @@ init_script = """
result = result||'insert-1 '||row_count||'; ';
end
^
SET TERM ^;
SET TERM ;^
COMMIT;
"""
@ -68,6 +71,6 @@ expected_stdout = """
@pytest.mark.version('>=2.1.5')
def test_1(act: Action):
act.expected_stdout = expected_stdout
act.execute()
act.execute(combine_output = True)
assert act.clean_stdout == act.clean_expected_stdout