We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow_playback_repeats
It appears that the allow_playback_repeats option doesn't work on record (though I'm not sure if that was intended).
The following test will record two requests when first creating the cassette.
def test_multiple_requests(): with vcr.use_cassette('cassettes/cassette.yaml', allow_playback_repeats=True) as cass: response1 = requests.get("http://example.com") response2 = requests.get("http://example.com") assert response1.status_code == 200 assert response2.status_code == 200
This could be fixed by modifying the following:
vcrpy/vcr/cassette.py
Line 250 in ce27c63
To something like:
return request and request in self and self.record_mode != RecordMode.ALL and (self.rewound or self.allow_playback_repeats)
The text was updated successfully, but these errors were encountered:
allow_playback_repeat
No branches or pull requests
It appears that the
allow_playback_repeats
option doesn't work on record (though I'm not sure if that was intended).The following test will record two requests when first creating the cassette.
This could be fixed by modifying the following:
vcrpy/vcr/cassette.py
Line 250 in ce27c63
To something like:
The text was updated successfully, but these errors were encountered: