mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 17:45:35 +00:00
update test_wild path
This commit is contained in:
@@ -9,7 +9,7 @@ def test_domain_redirect():
|
|||||||
# requests are considered identical, then we'll be stuck in a redirect
|
# requests are considered identical, then we'll be stuck in a redirect
|
||||||
# loop.
|
# loop.
|
||||||
url = 'http://seomoz.org/'
|
url = 'http://seomoz.org/'
|
||||||
with vcr.use_cassette('domain_redirect.yaml') as cass:
|
with vcr.use_cassette('tests/fixtures/wild/domain_redirect.yaml') as cass:
|
||||||
requests.get(url, headers={'User-Agent': 'vcrpy-test'})
|
requests.get(url, headers={'User-Agent': 'vcrpy-test'})
|
||||||
# Ensure that we've now served two responses. One for the original
|
# Ensure that we've now served two responses. One for the original
|
||||||
# redirect, and a second for the actual fetch
|
# redirect, and a second for the actual fetch
|
||||||
|
|||||||
Reference in New Issue
Block a user