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

Function test_submit_empty_job

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

Source from the content-addressed store, hash-verified

21
22
23def test_submit_empty_job(hq_env: HqEnv):
24 (job, client) = prepare_job_client(hq_env)
25 with pytest.raises(Exception, match="Submitted job must have at least a single task"):
26 client.submit(job)
27
28
29def test_submit_simple(hq_env: HqEnv):

Callers

nothing calls this directly

Calls 2

prepare_job_clientFunction · 0.85
submitMethod · 0.45

Tested by

no test coverage detected