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

Function test_cluster_create_client

tests/pyapi/test_cluster.py:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def test_cluster_create_client():
24 with LocalCluster() as cluster:
25 client = cluster.client()
26 job = Job()
27 job.program(["uname"])
28 client.submit(job)
29
30
31def test_cluster_add_worker():

Callers

nothing calls this directly

Calls 5

programMethod · 0.95
LocalClusterClass · 0.90
JobClass · 0.90
clientMethod · 0.45
submitMethod · 0.45

Tested by

no test coverage detected