mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 13:33:07 +01:00
Added/Updated tests\bugs\core_6469_test.py: Refactored, plus added combine_output in order to see STDERR content
This commit is contained in:
parent
bc76e00aa2
commit
6d39fdf0b3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user