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

Function test_function_name

tests/pyapi/test_function.py:111–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109
110
111def test_function_name():
112 def foo():
113 pass
114
115 job = Job()
116 assert job.function(foo).name == "foo/0"
117 assert job.function(foo).name == "foo/1"
118
119
120def test_function_name_in_exception(hq_env: HqEnv):

Callers

nothing calls this directly

Calls 2

functionMethod · 0.95
JobClass · 0.90

Tested by

no test coverage detected