MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / site_url

Function site_url

src/Test/conftest.py:247–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245
246@pytest.fixture(scope="session")
247def site_url():
248 try:
249 urllib.request.urlopen(SITE_URL).read()
250 except Exception as err:
251 raise pytest.skip("Test requires zeronet client running: %s" % err)
252 return SITE_URL
253
254
255@pytest.fixture(params=['ipv4', 'ipv6'])

Callers

nothing calls this directly

Calls 2

skipMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected