MCPcopy Create free account
hub / github.com/pytest-dev/pytest / MockConfig

Class MockConfig

testing/python/metafunc.py:253–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251 pass
252
253 class MockConfig:
254 def getini(self, name):
255 return ""
256
257 @property
258 def hook(self):
259 return self
260
261 def pytest_make_parametrize_id(self, **kw):
262 pass
263
264 metafunc = self.Metafunc(func, MockConfig())
265 metafunc.parametrize("y", [])

Calls

no outgoing calls