MCPcopy
hub / github.com/pytest-dev/pytest / MockConfig

Class MockConfig

testing/python/metafunc.py:310–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308 pass
309
310 class MockConfig:
311 def getini(self, name):
312 return ""
313
314 @property
315 def hook(self):
316 return self
317
318 def pytest_make_parametrize_id(self, **kw):
319 pass
320
321 metafunc = self.Metafunc(func, MockConfig())
322 metafunc.parametrize("y", [])

Calls

no outgoing calls