Method
test_absolute_win32_path
(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 | |
| 541 | class TestConfigAPI: |
Callers
nothing calls this directly
Tested by
no test coverage detected