mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-02-02 02:40:42 +01:00
Added/Updated tests\bugs\core_4345_test.py: added combine_ouput=True in order to see failed details in annotations.
This commit is contained in:
parent
a26e1cce6b
commit
25dd99989d
@ -101,7 +101,7 @@ def test_1(act: Action):
|
|||||||
"""
|
"""
|
||||||
# Case 1: Trace functions enabled
|
# Case 1: Trace functions enabled
|
||||||
with act.trace(db_events=trace):
|
with act.trace(db_events=trace):
|
||||||
act.isql(switches=['-n', '-q'], input=func_script % (123, 456))
|
act.isql(switches=['-n', '-q'], input=func_script % (123, 456), combine_output = True)
|
||||||
#
|
#
|
||||||
for line in act.trace_log:
|
for line in act.trace_log:
|
||||||
if (func_start_ptn.search(line)
|
if (func_start_ptn.search(line)
|
||||||
@ -112,7 +112,7 @@ def test_1(act: Action):
|
|||||||
# Case 2: Trace functions disabled
|
# Case 2: Trace functions disabled
|
||||||
act.trace_log.clear()
|
act.trace_log.clear()
|
||||||
with act.trace(db_events=trace[:-2]):
|
with act.trace(db_events=trace[:-2]):
|
||||||
act.isql(switches=['-n', '-q'], input=func_script % (789, 987))
|
act.isql(switches=['-n', '-q'], input=func_script % (789, 987), combine_output = True)
|
||||||
#
|
#
|
||||||
for line in act.trace_log:
|
for line in act.trace_log:
|
||||||
if (func_start_ptn.search(line)
|
if (func_start_ptn.search(line)
|
||||||
|
Loading…
Reference in New Issue
Block a user