()
| 101 | |
| 102 | |
| 103 | def test_safe_getattr() -> None: |
| 104 | helper = ErrorsHelper() |
| 105 | assert safe_getattr(helper, "raise_exception", "default") == "default" |
| 106 | assert safe_getattr(helper, "raise_fail_outcome", "default") == "default" |
| 107 | with pytest.raises(BaseException): # noqa: B017 |
| 108 | assert safe_getattr(helper, "raise_baseexception", "default") |
| 109 | |
| 110 | |
| 111 | def test_safe_isclass() -> None: |
nothing calls this directly
no test coverage detected