(app)
| 1439 | |
| 1440 | |
| 1441 | def test_static_folder_with_pathlib_path(app): |
| 1442 | from pathlib import Path |
| 1443 | |
| 1444 | app = flask.Flask(__name__, static_folder=Path("static")) |
| 1445 | rv = app.test_client().open("/static/index.html", method="GET") |
| 1446 | assert rv.status_code == 200 |
| 1447 | rv.close() |
| 1448 | |
| 1449 | |
| 1450 | def test_static_folder_with_ending_slash(): |
nothing calls this directly
no test coverage detected