(self, pytester: Pytester)
| 1012 | assert result.ret == 1 |
| 1013 | |
| 1014 | def test_quiet_reporting(self, pytester: Pytester) -> None: |
| 1015 | p1 = pytester.makepyfile("def test_pass(): pass") |
| 1016 | result = pytester.runpytest(p1, "-q") |
| 1017 | s = result.stdout.str() |
| 1018 | assert "test session starts" not in s |
| 1019 | assert p1.name not in s |
| 1020 | assert "===" not in s |
| 1021 | assert "passed" in s |
| 1022 | |
| 1023 | def test_more_quiet_reporting(self, pytester: Pytester) -> None: |
| 1024 | p1 = pytester.makepyfile("def test_pass(): pass") |
nothing calls this directly
no test coverage detected