Kevin McCarthy
d322bc01da
update vcr stubs to actually call mark_played correctly
2013-08-11 15:05:41 -10:00
Kevin McCarthy
e39b48e73b
add a couple more tests, change played api to require request being played
2013-08-11 15:05:41 -10:00
Kevin McCarthy
4cdf5f7483
update cassette unit tests
2013-08-11 15:05:41 -10:00
Kevin McCarthy
3c614d0e9b
add backported counter module
2013-08-11 15:05:41 -10:00
Kevin McCarthy
70c7e040fb
update tox to reflect new text directory structure
2013-08-11 15:05:40 -10:00
Kevin McCarthy
9ac03c889a
hold counts in a Counter
2013-08-11 15:05:40 -10:00
Kevin McCarthy
87d27a7199
add requests class to sow the seeds of a custom matcher
2013-08-11 15:05:40 -10:00
Kevin McCarthy
0e003575a1
add pytestdebug to .gitignore
2013-08-11 15:05:40 -10:00
Kevin McCarthy
7221141cdd
add back the secure write
2013-08-11 15:05:40 -10:00
Kevin McCarthy
166facd0d0
check that cassette contains things before returning
2013-08-11 15:05:40 -10:00
Kevin McCarthy
37504c8982
remove some TODOs
2013-08-11 15:05:40 -10:00
Kevin McCarthy
fb2aa89445
replace cached() with mark_played / play_count
2013-08-11 15:05:40 -10:00
Kevin McCarthy
9b665fef27
dont append to cassette file
2013-08-11 15:05:40 -10:00
Kevin McCarthy
77f0ef5c33
bring back the files module, but do serialization in cassette
2013-08-11 15:05:40 -10:00
Kevin McCarthy
6cbd84c15f
fix travis
2013-08-11 15:05:40 -10:00
Kevin McCarthy
2ed4b730c4
oops, shouldnt have removed that file
2013-08-11 15:05:40 -10:00
Kevin McCarthy
a8c4061352
fix typo
2013-08-11 15:05:40 -10:00
Kevin McCarthy
4fe6f463c3
remove fixtures, remove some dead httpbin assert code
2013-08-11 15:05:40 -10:00
Kevin McCarthy
7fedd8c584
remove typo
2013-08-11 15:05:40 -10:00
Kevin McCarthy
30350ac3d7
fix typo
2013-08-11 15:05:40 -10:00
Kevin McCarthy
5f512ca6b2
add unit tests for Cassette implementation
2013-08-11 15:05:39 -10:00
Kevin McCarthy
cbedb5818a
add unit tests
2013-08-11 15:05:39 -10:00
Dan Lecocq
b488ca67fe
Substantial refactoring
...
This refactoring includes some PEP-8 compliance changes, as well as some more
complete testing to ensure that we're in fact serving everything out of
cassettes when we thing we are.
Incidentally, it also includes fixes for #3 and #4
2013-08-11 15:05:39 -10:00
Kevin McCarthy
3742e2fdc0
update copyright date
2013-08-05 19:41:46 -10:00
Kevin McCarthy
9c03153e6c
Update README / version bump for new libyaml feature
2013-07-24 18:48:33 -10:00
Kevin McCarthy
9650e945af
Merge pull request #16 from dlecocq/master
...
Use the libYAML version of yaml if it's available
2013-07-24 21:45:43 -07:00
Dan Lecocq
e9cb0bff47
Use the libYAML version of yaml if it's available
2013-07-23 15:25:33 -07:00
Kevin McCarthy
5c1ccd9dd5
update readme
2013-07-19 23:24:33 -10:00
Kevin McCarthy
991bddf895
Merge pull request #14 from vitormazzi/master
...
Updates to work with requests 1.2.3 and bump version.
Closes #13 , #12
2013-07-20 02:04:31 -07:00
Vitor M. A. da Cruz
8701e6025b
Removing patch for plain http using requests during reset
...
The patch was not removed, so subsequent connections were affected
2013-07-05 16:48:30 -03:00
Vitor M. A. da Cruz
41fd8411cf
Update stubs.py
...
`VCRHTTPResponse.close` method must be defined for urllib3.
`VCRHTTPResponse.read` does not need to care about the paremeters passed to it
2013-06-21 16:54:24 -03:00
Bryan Helmig
74941f68c6
bump version
2013-04-28 12:40:07 -07:00
Bryan Helmig
6208b0ce61
patch plain HTTP for requests
2013-04-28 12:12:22 -07:00
Kevin McCarthy
68d3918fe1
Update README.md
2013-03-03 17:00:16 -10:00
Kevin McCarthy
b72e666ab4
Update README.md
2013-02-25 19:15:10 -10:00
Kevin McCarthy
352c1d30ce
Merge pull request #11 from tjmcewan/patch-1
...
add note about libyaml
2013-02-23 12:07:04 -08:00
Tim McEwan
5736aad82e
add note about libyaml
2013-02-23 22:37:20 +11:00
Kevin McCarthy
97cf07c086
Update Travis, Remove requirements.txt
...
Since setup.py is handling requirements now, I think I can remove
requirements.txt. Also, travis needs to be updated to use py.test
2013-02-21 23:29:43 -10:00
Kevin McCarthy
4c5bdc8870
Update README.md
2013-02-21 23:00:47 -10:00
Kevin McCarthy
2db5664809
add better pypi classifiers
2013-02-21 22:58:44 -10:00
Kevin McCarthy
e039181352
Update README.md
2013-02-21 22:49:05 -10:00
Kevin McCarthy
9ee31b25c5
update setup.py
2013-02-21 22:43:57 -10:00
Kevin McCarthy
c90778274e
reorganize tests, start using pytest
2013-02-21 22:15:57 -10:00
Kevin McCarthy
71d0392419
Merge pull request #10 from sriprasanna/master
...
Handling multiple requests
2013-02-21 23:10:04 -08:00
Sri Prasanna
ed682cf354
+ @bhartin - now vcr can handle multiple requests
2013-02-21 13:04:55 +03:00
Kevin McCarthy
1d3fe5c33e
Update .travis.yml
2012-10-11 17:16:23 -10:00
Kevin McCarthy
f655c9e880
Remove comment about missing context manager in 2.5. Closes #5
2012-10-11 15:47:13 -10:00
Kevin McCarthy
6af873eeb2
Add basic support for urllib3
2012-10-11 15:47:01 -10:00
Kevin McCarthy
2e3a129669
fix bug in travis.yml
2012-09-19 19:56:06 -10:00
Kevin McCarthy
aeac2766ad
update travis to run both with and without requests library
2012-09-16 13:47:42 -10:00