MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / pytest_collection_modifyitems

Function pytest_collection_modifyitems

src/Test/conftest.py:25–32  ·  view source on GitHub ↗
(config, items)

Source from the content-addressed store, hash-verified

23
24
25def pytest_collection_modifyitems(config, items):
26 if config.getoption("--slow"):
27 # --runslow given in cli: do not skip slow tests
28 return
29 skip_slow = pytest.mark.skip(reason="need --slow option to run")
30 for item in items:
31 if "slow" in item.keywords:
32 item.add_marker(skip_slow)
33
34# Config
35if sys.platform == "win32":

Callers

nothing calls this directly

Calls 1

skipMethod · 0.80

Tested by

no test coverage detected