Method
test_passfunction
(self, pytester: Pytester)
Source from the content-addressed store, hash-verified
| 116 | |
| 117 | class BaseFunctionalTests: |
| 118 | def test_passfunction(self, pytester: Pytester) -> None: |
| 119 | reports = pytester.runitem( |
| 120 | """ |
| 121 | def test_func(): |
| 122 | pass |
| 123 | """ |
| 124 | ) |
| 125 | rep = reports[1] |
| 126 | assert rep.passed |
| 127 | assert not rep.failed |
| 128 | assert rep.outcome == "passed" |
| 129 | assert not rep.longrepr |
| 130 | |
| 131 | def test_failfunction(self, pytester: Pytester) -> None: |
| 132 | reports = pytester.runitem( |
Callers
nothing calls this directly
Tested by
no test coverage detected