()
| 172 | |
| 173 | |
| 174 | def test_safe_getattr() -> None: |
| 175 | helper = ErrorsHelper() |
| 176 | assert safe_getattr(helper, "raise_exception", "default") == "default" |
| 177 | assert safe_getattr(helper, "raise_fail_outcome", "default") == "default" |
| 178 | with pytest.raises(BaseException): |
| 179 | assert safe_getattr(helper, "raise_baseexception", "default") |
| 180 | |
| 181 | |
| 182 | def test_safe_isclass() -> None: |
nothing calls this directly
no test coverage detected