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_5092_test.py: added 'combine_output = True' in order to see runtime error in log

This commit is contained in:
pavel-zotov 2023-12-12 11:12:18 +03:00
parent 6ef38261db
commit a22fe8f938

View File

@ -2,7 +2,7 @@
"""
ID: issue-5377
ISSUE: 5377
ISSUE: https://github.com/FirebirdSQL/firebird/issues/5377
TITLE: ISQL extract command looses COMPUTED BY field types
DESCRIPTION:
Test creates database with empty table T1 that has computed by fileds with DDL appopriate to the ticket issues.
@ -80,14 +80,14 @@ def test_1(act: Action):
initial_sqlda = act.stdout.splitlines()
# Apply extracted metadata
act.reset()
act.isql(switches=[], input='\n'.join(initial_metadata))
act.isql(switches=[], input='\n'.join(initial_metadata), combine_output = True)
# New metadata
act.reset()
act.isql(switches=['-x'])
new_metadata = act.stdout.splitlines()
# SQLDA new
act.reset()
act.isql(switches=['-q', '-m'], input=sqlda_check)
act.isql(switches=['-q', '-m'], input=sqlda_check, combine_output = True)
new_sqlda = act.stdout.splitlines()
# Check
assert list(unified_diff(initial_sqlda, new_sqlda)) == []