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

Function test_queue_submit_success

tests/autoalloc/test_autoalloc.py:123–129  ·  view source on GitHub ↗
(hq_env: HqEnv, flavor: ManagerFlavor)

Source from the content-addressed store, hash-verified

121
122@all_flavors
123def test_queue_submit_success(hq_env: HqEnv, flavor: ManagerFlavor):
124 with MockJobManager(hq_env, flavor.default_handler()):
125 start_server_with_quick_refresh(hq_env)
126 prepare_tasks(hq_env)
127
128 add_queue(hq_env, manager=flavor.manager_type())
129 wait_for_alloc(hq_env, "QUEUED", "1.job")
130
131
132@all_flavors

Callers

nothing calls this directly

Calls 7

MockJobManagerClass · 0.85
prepare_tasksFunction · 0.85
wait_for_allocFunction · 0.85
default_handlerMethod · 0.80
add_queueFunction · 0.70
manager_typeMethod · 0.45

Tested by

no test coverage detected