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

update readme

This commit is contained in:
Kevin McCarthy
2013-08-11 18:53:22 -10:00
parent 9f4ae7b36f
commit ba6e43e262

View File

@@ -62,15 +62,15 @@ with vcr.use_cassette('fixtures/vcr_cassettes/synopsis.yaml') as cass:
The Cassette object exposes the following properties which I consider The Cassette object exposes the following properties which I consider
part of the API. The fields are as follows: part of the API. The fields are as follows:
* requests: A list of vcr.Request objects containing the requests made * `requests`: A list of vcr.Request objects containing the requests made
while this cassette was being used, ordered by the order that the while this cassette was being used, ordered by the order that the
request was made. request was made.
* responses: A list of the responses made. * `responses`: A list of the responses made.
* play_count: The number of times this cassette has had a response * `play_count`: The number of times this cassette has had a response
played back played back
* play_counts: A collections.Counter showing the number of times each * `play_counts`: A collections.Counter showing the number of times each
response has been played back, indexed by the request response has been played back, indexed by the request
* response_of(request): Access the response for a given request. * `response_of(request)`: Access the response for a given request.
@@ -91,7 +91,7 @@ There are probably some [bugs](https://github.com/kevin1024/vcrpy/issues?labels=
* 0.1.0: *backwards incompatible release - delete your old cassette files*: * 0.1.0: *backwards incompatible release - delete your old cassette files*:
This release adds the ability to access the cassette to make assertions This release adds the ability to access the cassette to make assertions
on it, as well as a major code refactor thanks to @dlecocq. It also on it, as well as a major code refactor thanks to @dlecocq. It also
fixes a couple longstanding bugs with redirects and HTTPS. fixes a couple longstanding bugs with redirects and HTTPS. [#3 and #4]
* 0.0.4: If you have libyaml installed, vcrpy will use the c bindings * 0.0.4: If you have libyaml installed, vcrpy will use the c bindings
instead. Speed up your tests! Thanks @dlecocq instead. Speed up your tests! Thanks @dlecocq
* 0.0.3: Add support for requests 1.2.3. Support for older versions of requests dropped (thanks @vitormazzi and @bryanhelmig) * 0.0.3: Add support for requests 1.2.3. Support for older versions of requests dropped (thanks @vitormazzi and @bryanhelmig)