(self, pytester: Pytester)
| 801 | assert config.getoption("x", default=1, skip=True) == 1 |
| 802 | |
| 803 | def test_config_getoption_unicode(self, pytester: Pytester) -> None: |
| 804 | pytester.makeconftest( |
| 805 | """ |
| 806 | def pytest_addoption(parser): |
| 807 | parser.addoption('--hello', type=str) |
| 808 | """ |
| 809 | ) |
| 810 | config = pytester.parseconfig("--hello=this") |
| 811 | assert config.getoption("hello") == "this" |
| 812 | |
| 813 | def test_config_getvalueorskip(self, pytester: Pytester) -> None: |
| 814 | config = pytester.parseconfig() |
nothing calls this directly
no test coverage detected