From 9321e673679c5cb1b6967451de0ac1fb19f4cf95 Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Mon, 9 Oct 2023 12:10:29 +0300 Subject: [PATCH] Added/Updated tests\bugs\core_6527_test.py: added 'combine_output = True' to show the result when the test fails --- tests/bugs/core_6527_test.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/bugs/core_6527_test.py b/tests/bugs/core_6527_test.py index d78a4aa4..b8057841 100644 --- a/tests/bugs/core_6527_test.py +++ b/tests/bugs/core_6527_test.py @@ -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()