()
| 1442 | |
| 1443 | |
| 1444 | def test_static_url_path_with_ending_slash(): |
| 1445 | app = flask.Flask(__name__, static_url_path="/foo/") |
| 1446 | app.testing = True |
| 1447 | rv = app.test_client().get("/foo/index.html") |
| 1448 | assert rv.status_code == 200 |
| 1449 | rv.close() |
| 1450 | |
| 1451 | with app.test_request_context(): |
| 1452 | assert flask.url_for("static", filename="index.html") == "/foo/index.html" |
| 1453 | |
| 1454 | |
| 1455 | def test_static_url_empty_path(app): |
nothing calls this directly
no test coverage detected
searching dependent graphs…