(self, pytester: Pytester)
| 1117 | assert result.ret == 1 |
| 1118 | |
| 1119 | def test_quiet_reporting(self, pytester: Pytester) -> None: |
| 1120 | p1 = pytester.makepyfile("def test_pass(): pass") |
| 1121 | result = pytester.runpytest(p1, "-q") |
| 1122 | s = result.stdout.str() |
| 1123 | assert "test session starts" not in s |
| 1124 | assert p1.name not in s |
| 1125 | assert "===" not in s |
| 1126 | assert "passed" in s |
| 1127 | |
| 1128 | def test_more_quiet_reporting(self, pytester: Pytester) -> None: |
| 1129 | p1 = pytester.makepyfile("def test_pass(): pass") |
nothing calls this directly
no test coverage detected