(
propagate_exceptions: bool, testing: bool, raises: bool
)
| 332 | ], |
| 333 | ) |
| 334 | async def test__handle_exception( |
| 335 | propagate_exceptions: bool, testing: bool, raises: bool |
| 336 | ) -> None: |
| 337 | app = Mock() |
| 338 | app.config = {} |
| 339 | app.config["PROPAGATE_EXCEPTIONS"] = propagate_exceptions |
| 340 | app.testing = testing |
| 341 | |
| 342 | if raises: |
| 343 | with pytest.raises(ValueError): |
| 344 | await _handle_exception(app, ValueError()) |
| 345 | else: |
| 346 | await _handle_exception(app, ValueError()) |
nothing calls this directly
no test coverage detected
searching dependent graphs…