betamaxpy / betamax

A VCR imitation designed only for python-requests.
https://betamax.readthedocs.io/en/latest/
Other
566 stars 62 forks source link

Allow to record duplicated urls on a cassette #101

Closed yrobla closed 8 years ago

yrobla commented 8 years ago

Currently betamax doesn't allow to record two exact urls under the same cassette. It is always picking the latest url that is recorded. This can break use case for several tests. Updated the behaviour to allow to record duplicated content, then updated the consumer logic to pick the same urls by order.

yrobla commented 8 years ago

not passing tests