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

Method test_confcutdir

testing/test_config.py:169–179  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

167
168 @pytest.mark.xfail(reason="probably not needed")
169 def test_confcutdir(self, pytester: Pytester) -> None:
170 sub = pytester.mkdir("sub")
171 os.chdir(sub)
172 pytester.makeini(
173 """
174 [pytest]
175 addopts = --qwe
176 """
177 )
178 result = pytester.inline_run("--confcutdir=.")
179 assert result.ret == 0
180
181 @pytest.mark.parametrize(
182 "ini_file_text, invalid_keys, warning_output, exception_text",

Callers

nothing calls this directly

Calls 4

mkdirMethod · 0.45
chdirMethod · 0.45
makeiniMethod · 0.45
inline_runMethod · 0.45

Tested by

no test coverage detected