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

Method test_confcutdir

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

Source from the content-addressed store, hash-verified

354
355 @pytest.mark.xfail(reason="probably not needed")
356 def test_confcutdir(self, pytester: Pytester) -> None:
357 sub = pytester.mkdir("sub")
358 os.chdir(sub)
359 pytester.makeini(
360 """
361 [pytest]
362 addopts = --qwe
363 """
364 )
365 result = pytester.inline_run("--confcutdir=.")
366 assert result.ret == 0
367
368 @pytest.mark.parametrize(
369 "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