MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / body

Function body

tests/test_events.py:89–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88def test_worker_connected_event(hq_env: HqEnv):
89 def body():
90 hq_env.start_worker()
91
92 events = get_events(hq_env, body)
93 assert find_events(events, "worker-connected")[0]["id"] == 1

Callers

nothing calls this directly

Calls 5

wait_for_worker_stateFunction · 0.85
commandMethod · 0.80
sleepMethod · 0.80
start_workerMethod · 0.45

Tested by

no test coverage detected