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

Method test_absolute_win32_path

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

Source from the content-addressed store, hash-verified

524 assert config.getini("custom") == "1"
525
526 def test_absolute_win32_path(self, pytester: Pytester) -> None:
527 temp_ini_file = pytester.makefile(
528 ".ini",
529 custom="""
530 [pytest]
531 addopts = --version
532 """,
533 )
534 from os.path import normpath
535
536 temp_ini_file_norm = normpath(str(temp_ini_file))
537 ret = pytest.main(["-c", temp_ini_file_norm])
538 assert ret == ExitCode.OK
539
540
541class TestConfigAPI:

Callers

nothing calls this directly

Calls 1

makefileMethod · 0.45

Tested by

no test coverage detected