fix typos on test_app.py

This commit is contained in:
swe-jaeyoungpark 2019-05-02 23:14:31 +09:00
parent ae4dab30cc
commit c3965e31a0
1 changed files with 2 additions and 2 deletions

View File

@ -298,8 +298,8 @@ def test_nonroot_root_with_x_forwarded_host(testapp):
resp.mustcontain("""<a href="/priv/packages/">here</a>""")
def test_nonroot_root_with_x_forwarded_host_without_tailing_slash(testapp):
resp = testapp.get("/", headers={"X-Forwarded-Host": "forward.ed/priv/"})
def test_nonroot_root_with_x_forwarded_host_without_trailing_slash(testapp):
resp = testapp.get("/", headers={"X-Forwarded-Host": "forward.ed/priv"})
resp.mustcontain("easy_install -i http://forward.ed/priv/simple/ PACKAGE")
resp.mustcontain("""<a href="/priv/packages/">here</a>""")