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

Function test_submit_simple

tests/pyapi/test_job.py:29–35  ·  view source on GitHub ↗
(hq_env: HqEnv)

Source from the content-addressed store, hash-verified

27
28
29def test_submit_simple(hq_env: HqEnv):
30 (job, client) = prepare_job_client(hq_env)
31
32 job.program(args=["uname"])
33 submitted_job = client.submit(job)
34
35 wait_for_job_state(hq_env, submitted_job.id, "FINISHED")
36
37
38def test_submit_cwd(hq_env: HqEnv):

Callers

nothing calls this directly

Calls 4

prepare_job_clientFunction · 0.85
wait_for_job_stateFunction · 0.85
programMethod · 0.80
submitMethod · 0.45

Tested by

no test coverage detected