(self, pytester: Pytester, mock_timing)
| 882 | assert "4 passed" in lines[2] |
| 883 | |
| 884 | def test_calls_showall(self, pytester: Pytester, mock_timing) -> None: |
| 885 | pytester.makepyfile(self.source) |
| 886 | result = pytester.runpytest_inprocess("--durations=0") |
| 887 | assert result.ret == 0 |
| 888 | |
| 889 | tested = "3" |
| 890 | for x in tested: |
| 891 | for y in ("call",): # 'setup', 'call', 'teardown': |
| 892 | for line in result.stdout.lines: |
| 893 | if ("test_%s" % x) in line and y in line: |
| 894 | break |
| 895 | else: |
| 896 | raise AssertionError(f"not found {x} {y}") |
| 897 | |
| 898 | def test_calls_showall_verbose(self, pytester: Pytester, mock_timing) -> None: |
| 899 | pytester.makepyfile(self.source) |
nothing calls this directly
no test coverage detected