test: accept independent verification tasks and evidence workflows

This commit is contained in:
阿白叔 committed 2026-11-17 17:12:08 +08:00
1 parent ec677a2864
commit 211d139653
26 files changed
+616 -138

No files matched your search

+10
View File
@@ -6,3 +6,13 @@ def test_close_and_controls_do_not_block_new_task_creation(ui,qtbot):
assert page.start_button.isEnabled() and page.new_button.isEnabled()
page.begin_shutdown()
assert page.new_button.isEnabled()
def test_shutdown_is_idempotent_after_store_is_released(ui,qtbot):
page=ui.window.verification_panel
page.shutdown()
original=page.service.begin_shutdown
def forbidden():raise AssertionError('closed page must not access released store')
page.service.begin_shutdown=forbidden
try:page.shutdown()
finally:page.service.begin_shutdown=original