test: accept independent verification tasks and evidence workflows
This commit is contained in:
1 parent
ec677a2864
commit
211d139653
26 files changed
+616
-138
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user