test(validation): run capture via store_result
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
9
test/validation/items/run/check_capture.py
Normal file
9
test/validation/items/run/check_capture.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import py_func.tm as tm
|
||||
|
||||
|
||||
def assert_captured():
|
||||
"""The sub-run log stored by `run` via store_result must be in the gdict."""
|
||||
log = tm.gd("captured_log", "")
|
||||
assert "Test run success." in log, \
|
||||
"captured sub-run log not reachable from the gdict (store_result)"
|
||||
return 0
|
||||
Reference in New Issue
Block a user