Skip to content

Commit

Permalink
move off of mockbin on tornado tests also
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Jan 23, 2024
1 parent b7f6c2f commit 42b4a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_tornado.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ def test_post(get_client, tmpdir, scheme):

@pytest.mark.online
@pytest.mark.gen_test
def test_redirects(get_client, tmpdir, scheme):
def test_redirects(get_client, tmpdir, httpbin):
"""Ensure that we can handle redirects"""
url = scheme + "://mockbin.org/redirect/301?url=bytes/1024"
url = httpbin + "/redirect-to?url=bytes/1024&status_code=301"
with vcr.use_cassette(str(tmpdir.join("requests.yaml"))):
content = (yield get(get_client(), url)).body

Expand Down

0 comments on commit 42b4a5d

Please sign in to comment.