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_6527_test.py: added 'combine_output = True' to show the result when the test fails

This commit is contained in:
pavel-zotov 2023-10-09 12:10:29 +03:00
parent 4556353076
commit 9321e67367

View File

@ -3,8 +3,7 @@
"""
ID: issue-6754
ISSUE: 6754
TITLE: Regression: inline comment of SP parameter with closing parenthesis leads to
incorrect SQL when trying to extract metadata
TITLE: Regression: inline comment of SP parameter with closing parenthesis leads to incorrect SQL when trying to extract metadata
DESCRIPTION:
JIRA: CORE-6527
FBTEST: bugs.core_6527
@ -82,7 +81,13 @@ act = python_act('db')
@pytest.mark.version('>=3.0.8')
def test_1(act: Action, db_b: Database):
act.isql(switches=[], input=init_script)
act.isql(switches=[], input=init_script, combine_output = True)
assert act.clean_stdout == ''
act.reset()
meta = act.extract_meta()
act.reset()
act.isql(switches=[], use_db=db_b, input=meta)
act.isql(switches=[], use_db=db_b, input=meta, combine_output = True)
assert act.clean_stdout == ''
act.reset()