MCPcopy Create free account
hub / github.com/pallets/flask / test_static_url_empty_path_default

Function test_static_url_empty_path_default

tests/test_basic.py:1434–1438  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

1432
1433
1434def test_static_url_empty_path_default(app):
1435 app = flask.Flask(__name__, static_folder="")
1436 rv = app.test_client().open("/static/index.html", method="GET")
1437 assert rv.status_code == 200
1438 rv.close()
1439
1440
1441def test_static_folder_with_pathlib_path(app):

Callers

nothing calls this directly

Calls 3

test_clientMethod · 0.95
openMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected