(self, pytester: Pytester)
| 76 | assert out.find("not python") != -1 |
| 77 | |
| 78 | def test_exit_first_problem(self, pytester: Pytester) -> None: |
| 79 | reprec = pytester.inline_runsource( |
| 80 | """ |
| 81 | def test_one(): assert 0 |
| 82 | def test_two(): assert 0 |
| 83 | """, |
| 84 | "--exitfirst", |
| 85 | ) |
| 86 | passed, skipped, failed = reprec.countoutcomes() |
| 87 | assert failed == 1 |
| 88 | assert passed == skipped == 0 |
| 89 | |
| 90 | def test_maxfail(self, pytester: Pytester) -> None: |
| 91 | reprec = pytester.inline_runsource( |
nothing calls this directly
no test coverage detected