(pytester: Pytester)
| 353 | |
| 354 | |
| 355 | def test_no_conftest(pytester: Pytester) -> None: |
| 356 | pytester.makeconftest("assert 0") |
| 357 | result = pytester.runpytest("--noconftest") |
| 358 | assert result.ret == ExitCode.NO_TESTS_COLLECTED |
| 359 | |
| 360 | result = pytester.runpytest() |
| 361 | assert result.ret == ExitCode.USAGE_ERROR |
| 362 | |
| 363 | |
| 364 | def test_conftest_existing_junitxml(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected