WIP: PAIN2
This commit is contained in:
@@ -21,11 +21,11 @@ def test_gui_ux_event_routing(live_gui) -> None:
|
||||
print("[SIM] Testing Streaming Event Routing...")
|
||||
stream_id = "Tier 3 (Worker): T-SIM-001"
|
||||
|
||||
# We use push_event which POSTs to /api/gui with action=mma_stream_append
|
||||
# As defined in App._process_pending_gui_tasks
|
||||
client.push_event('mma_stream_append', {'stream_id': stream_id, 'text': 'Hello '})
|
||||
# We use push_event which POSTs to /api/gui with action=mma_stream
|
||||
# As defined in AppController._process_event_queue
|
||||
client.push_event('mma_stream', {'stream_id': stream_id, 'text': 'Hello '})
|
||||
time.sleep(0.5)
|
||||
client.push_event('mma_stream_append', {'stream_id': stream_id, 'text': 'World!'})
|
||||
client.push_event('mma_stream', {'stream_id': stream_id, 'text': 'World!'})
|
||||
time.sleep(1.0)
|
||||
|
||||
status = client.get_mma_status()
|
||||
|
||||
Reference in New Issue
Block a user