MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / set_httpserver_hostname

Function set_httpserver_hostname

python/web/tests/conftest.py:36–38  ·  view source on GitHub ↗
(pytestconfig, httpserver)

Source from the content-addressed store, hash-verified

34
35@pytest.fixture(scope="function", autouse=True)
36def set_httpserver_hostname(pytestconfig, httpserver):
37 # We need httpserver.url_for() to generate URLs pointing to the correct host
38 httpserver.host = pytestconfig.getoption("httpserver_host")
39
40
41@pytest.fixture(scope="session", autouse=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected