1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 17:15:35 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
Kevin McCarthy
65254b4969 change serializer API so it doesn't have to do file stuff 2013-08-22 19:18:58 -10:00
Kevin McCarthy
6005420409 Let's do an instance/module-based API for serializers 2013-08-22 17:39:52 -10:00
shu zOMG chen
c5eca93edc Added test to confirm whether cStringIO works 2013-08-22 17:31:57 -10:00
Kevin McCarthy
b688dd362d test cassette library dir 2013-08-19 19:49:06 -10:00
Kevin McCarthy
28379e9000 start adding config tests 2013-08-19 19:49:06 -10:00
Kevin McCarthy
b7af8bae71 keep yaml as default cassette serializer to fix unit tests 2013-08-19 19:49:06 -10:00
Kevin McCarthy
7a4c11bf94 clarify the readme a bit 2013-08-19 19:49:06 -10:00
Kevin McCarthy
1478ce82fd make config options actually do stuff 2013-08-19 19:49:06 -10:00
Kevin McCarthy
9073cf137e add note to readme 2013-08-19 19:49:06 -10:00
Kevin McCarthy
53f5cd24d6 Begin work on implementing configuration interface 2013-08-19 19:49:05 -10:00
Kevin McCarthy
cf744dca00 document configuration stuffs 2013-08-19 19:49:05 -10:00
shu zOMG chen
51f0f1bacd Adding json serializer 2013-08-19 19:49:05 -10:00
Kevin McCarthy
3e247a2efb remove errant print statements 2013-08-19 19:34:38 -10:00
Kevin McCarthy
762b761d0c remove unused test file 2013-08-19 19:26:56 -10:00
Kevin McCarthy
348cc8fdfe Fix Google test Failure
Let's not use Google to test redirects since it changes depending on your
geographic location.  I changed the test to use httpbin.org, since
a lot of our tests already depend on httpbin.org anyway.

Somedays, I'd like to implement my own local mock HTTP server I
can do asserts against.  The test suite would just start it up,
and the server would record the requests, which I could then
retrieve and compare.

Closes #21
2013-08-18 12:09:18 -10:00
Kevin McCarthy
4894cb7e22 update readme v0.1.0 2013-08-11 19:01:28 -10:00
Kevin McCarthy
e603b9d26d update readme 2013-08-11 18:59:36 -10:00
Kevin McCarthy
8c85048061 update readme 2013-08-11 18:57:28 -10:00
Kevin McCarthy
ba6e43e262 update readme 2013-08-11 18:53:22 -10:00
Kevin McCarthy
9f4ae7b36f update readme 2013-08-11 18:51:29 -10:00
Kevin McCarthy
fcbc271149 update README 2013-08-11 18:47:07 -10:00
Kevin McCarthy
9d8084113d add the test from the readme 2013-08-11 18:42:09 -10:00
Kevin McCarthy
5c0a1e1769 persist on _vcr_request 2013-08-11 18:32:02 -10:00
Kevin McCarthy
d00c27e244 refactor tests a bit 2013-08-11 18:23:46 -10:00
Kevin McCarthy
e61c503d96 Use ordereddict so responses actually stay in order 2013-08-11 17:54:22 -10:00
Kevin McCarthy
a6c59c20d2 remove debugging code from Request and add repr 2013-08-11 17:51:33 -10:00
Kevin McCarthy
ce88331ebe add test for redirects 2013-08-11 15:05:42 -10:00
Kevin McCarthy
c7abde24b8 improve mocked headers so urllib2 can handle redirects too 2013-08-11 15:05:42 -10:00
Kevin McCarthy
5eab2edd70 Fix travis 2013-08-11 15:05:42 -10:00
Kevin McCarthy
f353a95af5 whats up with travis 2013-08-11 15:05:42 -10:00
Kevin McCarthy
ac862d5aff update test_wild path 2013-08-11 15:05:42 -10:00
Kevin McCarthy
768b61316a move wild into its own folder 2013-08-11 15:05:42 -10:00
Kevin McCarthy
fcc50eb44e dont try to create empty dirs 2013-08-11 15:05:42 -10:00
Kevin McCarthy
a1229190f5 convert requests tests to pytest 2013-08-11 15:05:42 -10:00
Kevin McCarthy
c5294a09f7 convert tests to pytest 2013-08-11 15:05:41 -10:00
Kevin McCarthy
1a73334b50 update tests 2013-08-11 15:05:41 -10:00
Kevin McCarthy
d76c9994a7 update fixture to add proto 2013-08-11 15:05:41 -10:00
Kevin McCarthy
ec01955c68 lets store the proto too 2013-08-11 15:05:41 -10:00
Kevin McCarthy
59567a26cc lets make url the actual url instead of just the path 2013-08-11 15:05:41 -10:00
Kevin McCarthy
a50cebaf21 change response to response_of 2013-08-11 15:05:41 -10:00
Kevin McCarthy
4f0668471e Refactor again to try to give Cassette a cleaner interface 2013-08-11 15:05:41 -10:00
Kevin McCarthy
c22db0d8cb bump revision number since I broke backwards compat 2013-08-11 15:05:41 -10:00
Kevin McCarthy
b6fcb02d7c update readme 2013-08-11 15:05:41 -10:00
Kevin McCarthy
5d1c1ecc92 add str to cassette object 2013-08-11 15:05:41 -10:00
Kevin McCarthy
ac2f21b318 remove extra whitespace 2013-08-11 15:05:41 -10:00
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