(self, pytester: Pytester, mock_timing)
| 873 | ) |
| 874 | |
| 875 | def test_calls_show_2(self, pytester: Pytester, mock_timing) -> None: |
| 876 | |
| 877 | pytester.makepyfile(self.source) |
| 878 | result = pytester.runpytest_inprocess("--durations=2") |
| 879 | assert result.ret == 0 |
| 880 | |
| 881 | lines = result.stdout.get_lines_after("*slowest*durations*") |
| 882 | assert "4 passed" in lines[2] |
| 883 | |
| 884 | def test_calls_showall(self, pytester: Pytester, mock_timing) -> None: |
| 885 | pytester.makepyfile(self.source) |
nothing calls this directly
no test coverage detected