1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

update test_wild path

This commit is contained in:
Kevin McCarthy
2013-08-10 17:12:26 -10:00
parent 768b61316a
commit ac862d5aff

View File

@@ -9,7 +9,7 @@ def test_domain_redirect():
# requests are considered identical, then we'll be stuck in a redirect
# loop.
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'})
# Ensure that we've now served two responses. One for the original
# redirect, and a second for the actual fetch