MCPcopy Index your code
hub / github.com/hugapi/hug / hug_api_error_exit_codes_enabled

Function hug_api_error_exit_codes_enabled

tests/fixtures.py:29–34  ·  view source on GitHub ↗

Defines a dependency for and then includes a uniquely identified hug API for a single test case with error exit codes enabled.

()

Source from the content-addressed store, hash-verified

27
28@pytest.fixture
29def hug_api_error_exit_codes_enabled():
30 """
31 Defines a dependency for and then includes a uniquely identified hug API
32 for a single test case with error exit codes enabled.
33 """
34 return TestAPI("fake_api_{}".format(randint(0, 1000000)), cli_error_exit_codes=True)

Callers

nothing calls this directly

Calls 1

TestAPIClass · 0.70

Tested by

no test coverage detected