(self, pytester: Pytester)
| 540 | |
| 541 | class TestConfigAPI: |
| 542 | def test_config_trace(self, pytester: Pytester) -> None: |
| 543 | config = pytester.parseconfig() |
| 544 | values: List[str] = [] |
| 545 | config.trace.root.setwriter(values.append) |
| 546 | config.trace("hello") |
| 547 | assert len(values) == 1 |
| 548 | assert values[0] == "hello [config]\n" |
| 549 | |
| 550 | def test_config_getoption(self, pytester: Pytester) -> None: |
| 551 | pytester.makeconftest( |
nothing calls this directly
no test coverage detected