Skip to content

Commit b2e0895

Browse files
authored
Merge pull request #346 from kevin-bates/fix-test-trailing-slash
Fix test_trailing_slash
2 parents 782230e + 630018f commit b2e0895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_paths.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def test_path_regex_bad():
4141
("/has/param/?hasparam=true", "/has/param?hasparam=true"),
4242
]
4343
)
44-
async def test_trailing_slash(uri, expected, http_server_client, auth_header, base_url):
44+
async def test_trailing_slash(jp_ensure_app_fixture, uri, expected, http_server_client, jp_auth_header, jp_base_url):
4545
# http_server_client raises an exception when follow_redirects=False
4646
with pytest.raises(tornado.httpclient.HTTPClientError) as err:
4747
await http_server_client.fetch(
4848
uri,
49-
headers=auth_header,
49+
headers=jp_auth_header,
5050
request_timeout=20,
5151
follow_redirects=False
5252
)

0 commit comments

Comments
 (0)