(self, pytester: Pytester)
| 818 | assert verbose == config.option.verbose |
| 819 | |
| 820 | def test_config_getvalueorskip_None(self, pytester: Pytester) -> None: |
| 821 | pytester.makeconftest( |
| 822 | """ |
| 823 | def pytest_addoption(parser): |
| 824 | parser.addoption("--hello") |
| 825 | """ |
| 826 | ) |
| 827 | config = pytester.parseconfig() |
| 828 | with pytest.raises(pytest.skip.Exception): |
| 829 | config.getvalueorskip("hello") |
| 830 | |
| 831 | def test_getconftest_pathlist(self, pytester: Pytester, tmp_path: Path) -> None: |
| 832 | somepath = tmp_path.joinpath("x", "y", "z") |
nothing calls this directly
no test coverage detected