mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 21:43:06 +01:00
Added/Updated tests\bugs\core_6438_test.py: added 'combine_output = True' in order to see problem details in the final HTML report. Fixed uninitialized variables.
This commit is contained in:
parent
5a5d67e732
commit
18b9adfa86
@ -24,7 +24,8 @@ txt_len: 65533
|
|||||||
@pytest.mark.version('>=4.0')
|
@pytest.mark.version('>=4.0')
|
||||||
def test_1(act: Action, capsys):
|
def test_1(act: Action, capsys):
|
||||||
data = '1' * 65533
|
data = '1' * 65533
|
||||||
act.isql(switches=[], input=f'''select '{data}' as " ", 1 as " " from rdb$database;''')
|
act.isql(switches=[], input=f'''select '{data}' as " ", 1 as " " from rdb$database;''', combine_output = True)
|
||||||
|
hdr_len = txt_len = 0
|
||||||
for line in act.stdout.splitlines():
|
for line in act.stdout.splitlines():
|
||||||
if line.startswith('='):
|
if line.startswith('='):
|
||||||
hdr_len = len(line.split()[0])
|
hdr_len = len(line.split()[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user