(self, pytester: Pytester, mock_timing)
| 952 | """ |
| 953 | |
| 954 | def test_calls(self, pytester: Pytester, mock_timing) -> None: |
| 955 | pytester.makepyfile(self.source) |
| 956 | result = pytester.runpytest_inprocess("--durations=10") |
| 957 | assert result.ret == 0 |
| 958 | |
| 959 | result.stdout.fnmatch_lines_random( |
| 960 | ["*durations*", "*call*test_3*", "*call*test_2*"] |
| 961 | ) |
| 962 | |
| 963 | result.stdout.fnmatch_lines( |
| 964 | ["(8 durations < 0.005s hidden. Use -vv to show these durations.)"] |
| 965 | ) |
| 966 | |
| 967 | def test_calls_show_2(self, pytester: Pytester, mock_timing) -> None: |
| 968 | pytester.makepyfile(self.source) |
nothing calls this directly
no test coverage detected