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

Function index

tests/test_testing.py:20–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19 @app.route("/")
20 def index():
21 return flask.request.url
22
23 ctx = app.test_request_context()
24 assert ctx.request.url == "http://example.com:1234/foo/"

Callers

nothing calls this directly

Calls 1

redirectMethod · 0.80

Tested by

no test coverage detected