(app)
| 1467 | |
| 1468 | |
| 1469 | def test_static_folder_with_pathlib_path(app): |
| 1470 | from pathlib import Path |
| 1471 | |
| 1472 | app = flask.Flask(__name__, static_folder=Path("static")) |
| 1473 | rv = app.test_client().open("/static/index.html", method="GET") |
| 1474 | assert rv.status_code == 200 |
| 1475 | rv.close() |
| 1476 | |
| 1477 | |
| 1478 | def test_static_folder_with_ending_slash(): |
nothing calls this directly
no test coverage detected