Skip to content

Commit

Permalink
Merge pull request #346 from kevin-bates/fix-test-trailing-slash
Browse files Browse the repository at this point in the history
Fix test_trailing_slash
  • Loading branch information
Zsailer committed Nov 18, 2020
2 parents 782230e + 630018f commit b2e0895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ def test_path_regex_bad():
("/has/param/?hasparam=true", "/has/param?hasparam=true"),
]
)
async def test_trailing_slash(uri, expected, http_server_client, auth_header, base_url):
async def test_trailing_slash(jp_ensure_app_fixture, uri, expected, http_server_client, jp_auth_header, jp_base_url):
# http_server_client raises an exception when follow_redirects=False
with pytest.raises(tornado.httpclient.HTTPClientError) as err:
await http_server_client.fetch(
uri,
headers=auth_header,
headers=jp_auth_header,
request_timeout=20,
follow_redirects=False
)
Expand Down

0 comments on commit b2e0895

Please sign in to comment.