| 150 | |
| 151 | |
| 152 | class ErrorsHelper: |
| 153 | @property |
| 154 | def raise_baseexception(self): |
| 155 | raise BaseException("base exception should be raised") |
| 156 | |
| 157 | @property |
| 158 | def raise_exception(self): |
| 159 | raise Exception("exception should be caught") |
| 160 | |
| 161 | @property |
| 162 | def raise_fail_outcome(self): |
| 163 | pytest.fail("fail should be caught") |
| 164 | |
| 165 | |
| 166 | def test_helper_failures() -> None: |
no outgoing calls