MCPcopy Create free account
hub / github.com/SHI-Labs/NATTEN / __init__

Method __init__

scripts/testing/pytest_progress_plugin.py:23–32  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

21
22class ProgressPlugin:
23 def __init__(self, path):
24 self.path = path
25 self.data = {
26 "collected": 0,
27 "passed": 0,
28 "failed": 0,
29 "skipped": 0,
30 "xfailed": 0,
31 "error": 0,
32 }
33
34 def pytest_collection_modifyitems(self, items):
35 self.data["collected"] = len(items)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected