()
| 1476 | |
| 1477 | |
| 1478 | def test_static_folder_with_ending_slash(): |
| 1479 | app = flask.Flask(__name__, static_folder="static/") |
| 1480 | |
| 1481 | @app.route("/<path:path>") |
| 1482 | def catch_all(path): |
| 1483 | return path |
| 1484 | |
| 1485 | rv = app.test_client().get("/catch/all") |
| 1486 | assert rv.data == b"catch/all" |
| 1487 | |
| 1488 | |
| 1489 | def test_static_route_with_host_matching(): |
nothing calls this directly
no test coverage detected