mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 17:45:35 +00:00
DOC(FIX): fixed variable name (a -> cass) in an example for rewind (#492)
This commit is contained in:
committed by
Josh Peak
parent
9ec19dd966
commit
531685d50b
@@ -384,5 +384,5 @@ VCR.py allows to rewind a cassette in order to replay it inside the same functio
|
|||||||
with vcr.use_cassette('fixtures/vcr_cassettes/synopsis.yaml') as cass:
|
with vcr.use_cassette('fixtures/vcr_cassettes/synopsis.yaml') as cass:
|
||||||
response = urllib2.urlopen('http://www.zombo.com/').read()
|
response = urllib2.urlopen('http://www.zombo.com/').read()
|
||||||
assert cass.all_played
|
assert cass.all_played
|
||||||
a.rewind()
|
cass.rewind()
|
||||||
assert not cass.all_played
|
assert not cass.all_played
|
||||||
|
|||||||
Reference in New Issue
Block a user