(pytester: Pytester)
| 1061 | |
| 1062 | |
| 1063 | def test_reportchars_error(pytester: Pytester) -> None: |
| 1064 | pytester.makepyfile( |
| 1065 | conftest=""" |
| 1066 | def pytest_runtest_teardown(): |
| 1067 | assert 0 |
| 1068 | """, |
| 1069 | test_simple=""" |
| 1070 | def test_foo(): |
| 1071 | pass |
| 1072 | """, |
| 1073 | ) |
| 1074 | result = pytester.runpytest("-rE") |
| 1075 | result.stdout.fnmatch_lines(["ERROR*test_foo*"]) |
| 1076 | |
| 1077 | |
| 1078 | def test_reportchars_all(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected