]>
khamidou — GitHub mirrors - vcrpy.git/log
Kevin McCarthy [Sat, 24 Aug 2013 07:41:52 +0000 (21:41 -1000)]
Update README.md
Kevin McCarthy [Sat, 24 Aug 2013 05:56:13 +0000 (19:56 -1000)]
pep8 fixes
Kevin McCarthy [Sat, 24 Aug 2013 03:47:08 +0000 (17:47 -1000)]
Update README and bump version
Kevin McCarthy [Sat, 24 Aug 2013 03:33:14 +0000 (17:33 -1000)]
Fix intermittent test failure due to http happening too fast
shu zOMG chen [Thu, 22 Aug 2013 00:27:29 +0000 (14:27 -1000)]
Don't save cassette when it hasn't been modified
Kevin McCarthy [Fri, 23 Aug 2013 04:38:25 +0000 (18:38 -1000)]
remove unused cassette in with statement
Kevin McCarthy [Fri, 23 Aug 2013 04:36:59 +0000 (18:36 -1000)]
add tests for registering serializer
Kevin McCarthy [Fri, 23 Aug 2013 04:26:40 +0000 (18:26 -1000)]
change serializer API so it doesn't have to do file stuff
Kevin McCarthy [Fri, 23 Aug 2013 03:39:52 +0000 (17:39 -1000)]
Let's do an instance/module-based API for serializers
shu zOMG chen [Wed, 21 Aug 2013 20:44:30 +0000 (10:44 -1000)]
Added test to confirm whether cStringIO works
Kevin McCarthy [Tue, 20 Aug 2013 05:47:54 +0000 (19:47 -1000)]
test cassette library dir
Kevin McCarthy [Tue, 20 Aug 2013 05:34:22 +0000 (19:34 -1000)]
start adding config tests
Kevin McCarthy [Tue, 20 Aug 2013 05:24:34 +0000 (19:24 -1000)]
keep yaml as default cassette serializer to fix unit tests
Kevin McCarthy [Tue, 20 Aug 2013 05:17:24 +0000 (19:17 -1000)]
clarify the readme a bit
Kevin McCarthy [Tue, 20 Aug 2013 05:12:32 +0000 (19:12 -1000)]
make config options actually do stuff
Kevin McCarthy [Tue, 20 Aug 2013 04:53:29 +0000 (18:53 -1000)]
add note to readme
Kevin McCarthy [Tue, 20 Aug 2013 04:48:23 +0000 (18:48 -1000)]
Begin work on implementing configuration interface
Kevin McCarthy [Tue, 20 Aug 2013 04:36:40 +0000 (18:36 -1000)]
document configuration stuffs
shu zOMG chen [Mon, 19 Aug 2013 07:43:14 +0000 (21:43 -1000)]
Adding json serializer
Kevin McCarthy [Tue, 20 Aug 2013 05:34:38 +0000 (19:34 -1000)]
remove errant print statements
Kevin McCarthy [Tue, 20 Aug 2013 05:26:56 +0000 (19:26 -1000)]
remove unused test file
Kevin McCarthy [Sun, 18 Aug 2013 22:04:22 +0000 (12:04 -1000)]
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
Kevin McCarthy [Mon, 12 Aug 2013 05:01:28 +0000 (19:01 -1000)]
update readme
Kevin McCarthy [Mon, 12 Aug 2013 04:59:36 +0000 (18:59 -1000)]
update readme
Kevin McCarthy [Mon, 12 Aug 2013 04:57:28 +0000 (18:57 -1000)]
update readme
Kevin McCarthy [Mon, 12 Aug 2013 04:53:22 +0000 (18:53 -1000)]
update readme
Kevin McCarthy [Mon, 12 Aug 2013 04:51:29 +0000 (18:51 -1000)]
update readme
Kevin McCarthy [Mon, 12 Aug 2013 04:46:03 +0000 (18:46 -1000)]
update README
Kevin McCarthy [Mon, 12 Aug 2013 04:42:09 +0000 (18:42 -1000)]
add the test from the readme
Kevin McCarthy [Mon, 12 Aug 2013 04:32:02 +0000 (18:32 -1000)]
persist on _vcr_request
Kevin McCarthy [Mon, 12 Aug 2013 04:09:56 +0000 (18:09 -1000)]
refactor tests a bit
Kevin McCarthy [Mon, 12 Aug 2013 03:54:22 +0000 (17:54 -1000)]
Use ordereddict so responses actually stay in order
Kevin McCarthy [Mon, 12 Aug 2013 03:07:13 +0000 (17:07 -1000)]
remove debugging code from Request and add repr
Kevin McCarthy [Mon, 12 Aug 2013 01:05:19 +0000 (15:05 -1000)]
add test for redirects
Kevin McCarthy [Mon, 12 Aug 2013 01:02:28 +0000 (15:02 -1000)]
improve mocked headers so urllib2 can handle redirects too
Kevin McCarthy [Sun, 11 Aug 2013 06:08:45 +0000 (20:08 -1000)]
Fix travis
Kevin McCarthy [Sun, 11 Aug 2013 03:48:06 +0000 (17:48 -1000)]
whats up with travis
Kevin McCarthy [Sun, 11 Aug 2013 03:12:26 +0000 (17:12 -1000)]
update test_wild path
Kevin McCarthy [Sun, 11 Aug 2013 03:09:09 +0000 (17:09 -1000)]
move wild into its own folder
Kevin McCarthy [Sun, 11 Aug 2013 03:08:57 +0000 (17:08 -1000)]
dont try to create empty dirs
Kevin McCarthy [Sun, 11 Aug 2013 03:03:20 +0000 (17:03 -1000)]
convert requests tests to pytest
Kevin McCarthy [Sun, 11 Aug 2013 02:45:35 +0000 (16:45 -1000)]
convert tests to pytest
Kevin McCarthy [Sun, 11 Aug 2013 02:18:27 +0000 (16:18 -1000)]
update tests
Kevin McCarthy [Sat, 10 Aug 2013 23:39:36 +0000 (13:39 -1000)]
update fixture to add proto
Kevin McCarthy [Sat, 10 Aug 2013 23:33:10 +0000 (13:33 -1000)]
lets store the proto too
Kevin McCarthy [Sat, 10 Aug 2013 23:09:35 +0000 (13:09 -1000)]
lets make url the actual url instead of just the path
Kevin McCarthy [Sat, 10 Aug 2013 23:00:23 +0000 (13:00 -1000)]
change response to response_of
Kevin McCarthy [Sat, 10 Aug 2013 22:51:24 +0000 (12:51 -1000)]
Refactor again to try to give Cassette a cleaner interface
Kevin McCarthy [Thu, 8 Aug 2013 07:55:58 +0000 (21:55 -1000)]
bump revision number since I broke backwards compat
Kevin McCarthy [Thu, 8 Aug 2013 07:55:32 +0000 (21:55 -1000)]
update readme
Kevin McCarthy [Thu, 8 Aug 2013 07:47:53 +0000 (21:47 -1000)]
add str to cassette object
Kevin McCarthy [Thu, 8 Aug 2013 07:42:17 +0000 (21:42 -1000)]
remove extra whitespace
Kevin McCarthy [Thu, 8 Aug 2013 07:40:09 +0000 (21:40 -1000)]
update vcr stubs to actually call mark_played correctly
Kevin McCarthy [Thu, 8 Aug 2013 07:34:15 +0000 (21:34 -1000)]
add a couple more tests, change played api to require request being played
Kevin McCarthy [Thu, 8 Aug 2013 07:30:25 +0000 (21:30 -1000)]
update cassette unit tests
Kevin McCarthy [Thu, 8 Aug 2013 07:17:04 +0000 (21:17 -1000)]
add backported counter module
Kevin McCarthy [Thu, 8 Aug 2013 07:15:42 +0000 (21:15 -1000)]
update tox to reflect new text directory structure
Kevin McCarthy [Thu, 8 Aug 2013 05:35:04 +0000 (19:35 -1000)]
hold counts in a Counter
Kevin McCarthy [Thu, 8 Aug 2013 05:09:21 +0000 (19:09 -1000)]
add requests class to sow the seeds of a custom matcher
Kevin McCarthy [Thu, 8 Aug 2013 04:16:32 +0000 (18:16 -1000)]
add pytestdebug to .gitignore
Kevin McCarthy [Wed, 7 Aug 2013 05:06:55 +0000 (19:06 -1000)]
add back the secure write
Kevin McCarthy [Wed, 7 Aug 2013 04:34:56 +0000 (18:34 -1000)]
check that cassette contains things before returning
Kevin McCarthy [Tue, 6 Aug 2013 08:26:23 +0000 (22:26 -1000)]
remove some TODOs
Kevin McCarthy [Tue, 6 Aug 2013 08:25:45 +0000 (22:25 -1000)]
replace cached() with mark_played / play_count
Kevin McCarthy [Tue, 6 Aug 2013 08:17:28 +0000 (22:17 -1000)]
dont append to cassette file
Kevin McCarthy [Tue, 6 Aug 2013 07:27:15 +0000 (21:27 -1000)]
bring back the files module, but do serialization in cassette
Kevin McCarthy [Tue, 6 Aug 2013 07:04:50 +0000 (21:04 -1000)]
fix travis
Kevin McCarthy [Tue, 6 Aug 2013 07:03:01 +0000 (21:03 -1000)]
oops, shouldnt have removed that file
Kevin McCarthy [Tue, 6 Aug 2013 07:01:11 +0000 (21:01 -1000)]
fix typo
Kevin McCarthy [Tue, 6 Aug 2013 06:54:16 +0000 (20:54 -1000)]
remove fixtures, remove some dead httpbin assert code
Kevin McCarthy [Tue, 6 Aug 2013 06:51:03 +0000 (20:51 -1000)]
remove typo
Kevin McCarthy [Tue, 6 Aug 2013 06:47:57 +0000 (20:47 -1000)]
fix typo
Kevin McCarthy [Tue, 6 Aug 2013 06:30:31 +0000 (20:30 -1000)]
add unit tests for Cassette implementation
Kevin McCarthy [Tue, 6 Aug 2013 06:05:13 +0000 (20:05 -1000)]
add unit tests
Dan Lecocq [Fri, 2 Aug 2013 23:15:26 +0000 (16:15 -0700)]
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
Kevin McCarthy [Tue, 6 Aug 2013 05:41:46 +0000 (19:41 -1000)]
update copyright date
Kevin McCarthy [Thu, 25 Jul 2013 04:48:33 +0000 (18:48 -1000)]
Update README / version bump for new libyaml feature
Kevin McCarthy [Thu, 25 Jul 2013 04:45:43 +0000 (21:45 -0700)]
Merge pull request #16 from dlecocq/master
Use the libYAML version of yaml if it's available
Dan Lecocq [Tue, 23 Jul 2013 22:25:33 +0000 (15:25 -0700)]
Use the libYAML version of yaml if it's available
Kevin McCarthy [Sat, 20 Jul 2013 09:24:33 +0000 (23:24 -1000)]
update readme
Kevin McCarthy [Sat, 20 Jul 2013 09:04:31 +0000 (02:04 -0700)]
Merge pull request #14 from vitormazzi/master
Updates to work with requests 1.2.3 and bump version.
Closes #13, #12
Vitor M. A. da Cruz [Fri, 5 Jul 2013 19:48:30 +0000 (16:48 -0300)]
Removing patch for plain http using requests during reset
The patch was not removed, so subsequent connections were affected
Vitor M. A. da Cruz [Fri, 21 Jun 2013 19:54:24 +0000 (16:54 -0300)]
Update stubs.py
`VCRHTTPResponse.close` method must be defined for urllib3.
`VCRHTTPResponse.read` does not need to care about the paremeters passed to it
Bryan Helmig [Sun, 28 Apr 2013 19:40:07 +0000 (12:40 -0700)]
bump version
Bryan Helmig [Sun, 28 Apr 2013 19:12:22 +0000 (12:12 -0700)]
patch plain HTTP for requests
Kevin McCarthy [Mon, 4 Mar 2013 03:00:16 +0000 (17:00 -1000)]
Update README.md
Kevin McCarthy [Tue, 26 Feb 2013 05:15:10 +0000 (19:15 -1000)]
Update README.md
Kevin McCarthy [Sat, 23 Feb 2013 20:07:04 +0000 (12:07 -0800)]
Merge pull request #11 from tjmcewan/patch-1
add note about libyaml
Tim McEwan [Sat, 23 Feb 2013 11:37:20 +0000 (22:37 +1100)]
add note about libyaml
Kevin McCarthy [Fri, 22 Feb 2013 09:24:55 +0000 (23:24 -1000)]
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
Kevin McCarthy [Fri, 22 Feb 2013 09:00:47 +0000 (23:00 -1000)]
Update README.md
Kevin McCarthy [Fri, 22 Feb 2013 08:57:35 +0000 (22:57 -1000)]
add better pypi classifiers
Kevin McCarthy [Fri, 22 Feb 2013 08:49:05 +0000 (22:49 -1000)]
Update README.md
Kevin McCarthy [Fri, 22 Feb 2013 08:43:57 +0000 (22:43 -1000)]
update setup.py
Kevin McCarthy [Fri, 22 Feb 2013 08:15:57 +0000 (22:15 -1000)]
reorganize tests, start using pytest
Kevin McCarthy [Fri, 22 Feb 2013 07:10:04 +0000 (23:10 -0800)]
Merge pull request #10 from sriprasanna/master
Handling multiple requests
Sri Prasanna [Thu, 21 Feb 2013 10:04:55 +0000 (13:04 +0300)]
+ @bhartin - now vcr can handle multiple requests
Kevin McCarthy [Fri, 12 Oct 2012 03:16:23 +0000 (17:16 -1000)]
Update .travis.yml
Kevin McCarthy [Fri, 12 Oct 2012 01:47:13 +0000 (15:47 -1000)]
Remove comment about missing context manager in 2.5. Closes #5
Kevin McCarthy [Fri, 12 Oct 2012 01:44:17 +0000 (15:44 -1000)]
Add basic support for urllib3