From 6d39fdf0b366ae1c0fb898071f93cd3ea507b5fd Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Fri, 10 May 2024 01:17:03 +0300 Subject: [PATCH] Added/Updated tests\bugs\core_6469_test.py: Refactored, plus added combine_output in order to see STDERR content --- tests/bugs/core_6469_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bugs/core_6469_test.py b/tests/bugs/core_6469_test.py index 7bbc7d5b..13977076 100644 --- a/tests/bugs/core_6469_test.py +++ b/tests/bugs/core_6469_test.py @@ -182,7 +182,7 @@ def run_script(act: Action, tmp_file: Path): """ tmp_file.write_text(script) - act.isql(switches=['-n'], input_file = tmp_file, connect_db = False, credentials = False) + act.isql(switches=['-n', '-q'], input_file = tmp_file, connect_db = False, credentials = False) @pytest.mark.version('>=4.0') @pytest.mark.platform('Windows') @@ -268,7 +268,7 @@ patterns_lin = [re.compile('alter session reset', re.IGNORECASE), @pytest.mark.platform('Linux') def test_2(act: Action, test_role: Role, capsys): with act.trace(db_events=trace_lin): - act.isql(switches=['-n'], input=test_script_lin) + act.isql(switches=['-n', '-q'], input = test_script_lin) # process trace for line in act.trace_log: