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

Class FakeConfig

testing/test_tmpdir.py:35–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34@attr.s
35class FakeConfig:
36 basetemp = attr.ib()
37
38 @property
39 def trace(self):
40 return self
41
42 def get(self, key):
43 return lambda *k: None
44
45 @property
46 def option(self):
47 return self
48
49
50class TestTmpPathHandler:

Callers 2

test_mktempMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_mktempMethod · 0.56