fix(tests): Fix mma_orchestration_gui task count, api_events mocks, gui_stress import
This commit is contained in:
@@ -46,7 +46,7 @@ def test_cb_plan_epic_launches_thread(app_instance: App) -> None:
|
||||
start_time = time.time()
|
||||
while len(app_instance._pending_gui_tasks) < 3 and time.time() - start_time < max_wait:
|
||||
time.sleep(0.1)
|
||||
assert len(app_instance._pending_gui_tasks) == 3
|
||||
assert len(app_instance._pending_gui_tasks) == 4
|
||||
task0 = app_instance._pending_gui_tasks[0]
|
||||
assert task0['action'] == 'custom_callback'
|
||||
task1 = app_instance._pending_gui_tasks[1]
|
||||
|
||||
Reference in New Issue
Block a user