(app, client)
| 917 | |
| 918 | |
| 919 | def test_baseexception_error_handling(app, client): |
| 920 | app.testing = False |
| 921 | |
| 922 | @app.route("/") |
| 923 | def broken_func(): |
| 924 | raise KeyboardInterrupt() |
| 925 | |
| 926 | with pytest.raises(KeyboardInterrupt): |
| 927 | client.get("/") |
| 928 | |
| 929 | |
| 930 | def test_before_request_and_routing_errors(app, client): |