(self, pytester: Pytester, mock_timing)
| 965 | ) |
| 966 | |
| 967 | def test_calls_show_2(self, pytester: Pytester, mock_timing) -> None: |
| 968 | pytester.makepyfile(self.source) |
| 969 | result = pytester.runpytest_inprocess("--durations=2") |
| 970 | assert result.ret == 0 |
| 971 | |
| 972 | lines = result.stdout.get_lines_after("*slowest*durations*") |
| 973 | assert "4 passed" in lines[2] |
| 974 | |
| 975 | def test_calls_showall(self, pytester: Pytester, mock_timing) -> None: |
| 976 | pytester.makepyfile(self.source) |
nothing calls this directly
no test coverage detected