MCPcopy
hub / github.com/pallets/flask / test_normal_environ_completes

Function test_normal_environ_completes

tests/test_reqctx.py:317–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315
316
317def test_normal_environ_completes():
318 app = flask.Flask(__name__)
319
320 @app.route("/")
321 def index():
322 return "Hello World!"
323
324 response = app.test_client().get("/", headers={"host": "xn--on-0ia.com"})
325 assert response.status_code == 200

Callers

nothing calls this directly

Calls 2

test_clientMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected