()
| 9 | |
| 10 | |
| 11 | def test_intercept_runtime_errors(): |
| 12 | # GIVEN |
| 13 | @intercept_runtime_errors() |
| 14 | def callable(): |
| 15 | raise RuntimeError |
| 16 | |
| 17 | # WHEN/THEN |
| 18 | with pytest.raises(EngineError): |
| 19 | callable() |
| 20 | |
| 21 | |
| 22 | @pytest.mark.parametrize("status", [-2, 0, 1]) |
nothing calls this directly
no test coverage detected