(*args, **kwargs)
| 1599 | |
| 1600 | # Mocks werkzeug.serving.run_simple method |
| 1601 | def run_simple_mock(*args, **kwargs): |
| 1602 | rv["passthrough_errors"] = kwargs.get("passthrough_errors") |
| 1603 | |
| 1604 | monkeypatch.setattr(werkzeug.serving, "run_simple", run_simple_mock) |
| 1605 | app.config["PROPAGATE_EXCEPTIONS"] = propagate_exceptions |