Skip to content
Myr

remove unicode host test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 4cae5d8 · Browse files · 1 file+0 added−21 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−21 removed

  • tests:+0 added−21 removed

1 file+0 added−21 removed

modified:tests/test_reqctx.py-21 removed
292 unmodified lines
293294 assert response.status_code == 400295296297def test_environ_for_valid_idna_completes():298 app = flask.Flask(__name__)299300 @app.route("/")301 def index():302 return "Hello World!"303304 from flask.testing import EnvironBuilder305306 builder = EnvironBuilder(app)307 environ = builder.get_environ()308309 # these characters are all IDNA-compatible310 environ["HTTP_HOST"] = "ąśźäüжŠßя.com"311312 with app.request_context(environ) as ctx:313 response = app.full_dispatch_request(ctx)314315 assert response.status_code == 200316317297def test_normal_environ_completes():298 app = flask.Flask(__name__)299300 @app.route("/")
5 unmodified lines