]> khamidou — GitHub mirrors - vcrpy.git/log
vcrpy.git
13 years agodocument configuration stuffs
Kevin McCarthy [Tue, 20 Aug 2013 04:36:40 +0000 (18:36 -1000)]
document configuration stuffs

13 years agoAdding json serializer
shu zOMG chen [Mon, 19 Aug 2013 07:43:14 +0000 (21:43 -1000)]
Adding json serializer

13 years agoremove errant print statements
Kevin McCarthy [Tue, 20 Aug 2013 05:34:38 +0000 (19:34 -1000)]
remove errant print statements

13 years agoremove unused test file
Kevin McCarthy [Tue, 20 Aug 2013 05:26:56 +0000 (19:26 -1000)]
remove unused test file

13 years agoFix Google test Failure
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

13 years agoupdate readme v0.1.0
Kevin McCarthy [Mon, 12 Aug 2013 05:01:28 +0000 (19:01 -1000)]
update readme

13 years agoupdate readme
Kevin McCarthy [Mon, 12 Aug 2013 04:59:36 +0000 (18:59 -1000)]
update readme

13 years agoupdate readme
Kevin McCarthy [Mon, 12 Aug 2013 04:57:28 +0000 (18:57 -1000)]
update readme

13 years agoupdate readme
Kevin McCarthy [Mon, 12 Aug 2013 04:53:22 +0000 (18:53 -1000)]
update readme

13 years agoupdate readme
Kevin McCarthy [Mon, 12 Aug 2013 04:51:29 +0000 (18:51 -1000)]
update readme

13 years agoupdate README
Kevin McCarthy [Mon, 12 Aug 2013 04:46:03 +0000 (18:46 -1000)]
update README

13 years agoadd the test from the readme
Kevin McCarthy [Mon, 12 Aug 2013 04:42:09 +0000 (18:42 -1000)]
add the test from the readme

13 years agopersist on _vcr_request
Kevin McCarthy [Mon, 12 Aug 2013 04:32:02 +0000 (18:32 -1000)]
persist on _vcr_request

13 years agorefactor tests a bit
Kevin McCarthy [Mon, 12 Aug 2013 04:09:56 +0000 (18:09 -1000)]
refactor tests a bit

13 years agoUse ordereddict so responses actually stay in order
Kevin McCarthy [Mon, 12 Aug 2013 03:54:22 +0000 (17:54 -1000)]
Use ordereddict so responses actually stay in order

13 years agoremove debugging code from Request and add repr
Kevin McCarthy [Mon, 12 Aug 2013 03:07:13 +0000 (17:07 -1000)]
remove debugging code from Request and add repr

13 years agoadd test for redirects
Kevin McCarthy [Mon, 12 Aug 2013 01:05:19 +0000 (15:05 -1000)]
add test for redirects

13 years agoimprove mocked headers so urllib2 can handle redirects too
Kevin McCarthy [Mon, 12 Aug 2013 01:02:28 +0000 (15:02 -1000)]
improve mocked headers so urllib2 can handle redirects too

13 years agoFix travis
Kevin McCarthy [Sun, 11 Aug 2013 06:08:45 +0000 (20:08 -1000)]
Fix travis

13 years agowhats up with travis
Kevin McCarthy [Sun, 11 Aug 2013 03:48:06 +0000 (17:48 -1000)]
whats up with travis

13 years agoupdate test_wild path
Kevin McCarthy [Sun, 11 Aug 2013 03:12:26 +0000 (17:12 -1000)]
update test_wild path

13 years agomove wild into its own folder
Kevin McCarthy [Sun, 11 Aug 2013 03:09:09 +0000 (17:09 -1000)]
move wild into its own folder

13 years agodont try to create empty dirs
Kevin McCarthy [Sun, 11 Aug 2013 03:08:57 +0000 (17:08 -1000)]
dont try to create empty dirs

13 years agoconvert requests tests to pytest
Kevin McCarthy [Sun, 11 Aug 2013 03:03:20 +0000 (17:03 -1000)]
convert requests tests to pytest

13 years agoconvert tests to pytest
Kevin McCarthy [Sun, 11 Aug 2013 02:45:35 +0000 (16:45 -1000)]
convert tests to pytest

13 years agoupdate tests
Kevin McCarthy [Sun, 11 Aug 2013 02:18:27 +0000 (16:18 -1000)]
update tests

13 years agoupdate fixture to add proto
Kevin McCarthy [Sat, 10 Aug 2013 23:39:36 +0000 (13:39 -1000)]
update fixture to add proto

13 years agolets store the proto too
Kevin McCarthy [Sat, 10 Aug 2013 23:33:10 +0000 (13:33 -1000)]
lets store the proto too

13 years agolets make url the actual url instead of just the path
Kevin McCarthy [Sat, 10 Aug 2013 23:09:35 +0000 (13:09 -1000)]
lets make url the actual url instead of just the path

13 years agochange response to response_of
Kevin McCarthy [Sat, 10 Aug 2013 23:00:23 +0000 (13:00 -1000)]
change response to response_of

13 years agoRefactor again to try to give Cassette a cleaner interface
Kevin McCarthy [Sat, 10 Aug 2013 22:51:24 +0000 (12:51 -1000)]
Refactor again to try to give Cassette a cleaner interface

13 years agobump revision number since I broke backwards compat
Kevin McCarthy [Thu, 8 Aug 2013 07:55:58 +0000 (21:55 -1000)]
bump revision number since I broke backwards compat

13 years agoupdate readme
Kevin McCarthy [Thu, 8 Aug 2013 07:55:32 +0000 (21:55 -1000)]
update readme

13 years agoadd str to cassette object
Kevin McCarthy [Thu, 8 Aug 2013 07:47:53 +0000 (21:47 -1000)]
add str to cassette object

13 years agoremove extra whitespace
Kevin McCarthy [Thu, 8 Aug 2013 07:42:17 +0000 (21:42 -1000)]
remove extra whitespace

13 years agoupdate vcr stubs to actually call mark_played correctly
Kevin McCarthy [Thu, 8 Aug 2013 07:40:09 +0000 (21:40 -1000)]
update vcr stubs to actually call mark_played correctly

13 years agoadd a couple more tests, change played api to require request being played
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

13 years agoupdate cassette unit tests
Kevin McCarthy [Thu, 8 Aug 2013 07:30:25 +0000 (21:30 -1000)]
update cassette unit tests

13 years agoadd backported counter module
Kevin McCarthy [Thu, 8 Aug 2013 07:17:04 +0000 (21:17 -1000)]
add backported counter module

13 years agoupdate tox to reflect new text directory structure
Kevin McCarthy [Thu, 8 Aug 2013 07:15:42 +0000 (21:15 -1000)]
update tox to reflect new text directory structure

13 years agohold counts in a Counter
Kevin McCarthy [Thu, 8 Aug 2013 05:35:04 +0000 (19:35 -1000)]
hold counts in a Counter

13 years agoadd requests class to sow the seeds of a custom matcher
Kevin McCarthy [Thu, 8 Aug 2013 05:09:21 +0000 (19:09 -1000)]
add requests class to sow the seeds of a custom matcher

13 years agoadd pytestdebug to .gitignore
Kevin McCarthy [Thu, 8 Aug 2013 04:16:32 +0000 (18:16 -1000)]
add pytestdebug to .gitignore

13 years agoadd back the secure write
Kevin McCarthy [Wed, 7 Aug 2013 05:06:55 +0000 (19:06 -1000)]
add back the secure write

13 years agocheck that cassette contains things before returning
Kevin McCarthy [Wed, 7 Aug 2013 04:34:56 +0000 (18:34 -1000)]
check that cassette contains things before returning

13 years agoremove some TODOs
Kevin McCarthy [Tue, 6 Aug 2013 08:26:23 +0000 (22:26 -1000)]
remove some TODOs

13 years agoreplace cached() with mark_played / play_count
Kevin McCarthy [Tue, 6 Aug 2013 08:25:45 +0000 (22:25 -1000)]
replace cached() with mark_played / play_count

13 years agodont append to cassette file
Kevin McCarthy [Tue, 6 Aug 2013 08:17:28 +0000 (22:17 -1000)]
dont append to cassette file

13 years agobring back the files module, but do serialization in cassette
Kevin McCarthy [Tue, 6 Aug 2013 07:27:15 +0000 (21:27 -1000)]
bring back the files module, but do serialization in cassette

13 years agofix travis
Kevin McCarthy [Tue, 6 Aug 2013 07:04:50 +0000 (21:04 -1000)]
fix travis

13 years agooops, shouldnt have removed that file
Kevin McCarthy [Tue, 6 Aug 2013 07:03:01 +0000 (21:03 -1000)]
oops, shouldnt have removed that file

13 years agofix typo
Kevin McCarthy [Tue, 6 Aug 2013 07:01:11 +0000 (21:01 -1000)]
fix typo

13 years agoremove fixtures, remove some dead httpbin assert code
Kevin McCarthy [Tue, 6 Aug 2013 06:54:16 +0000 (20:54 -1000)]
remove fixtures, remove some dead httpbin assert code

13 years agoremove typo
Kevin McCarthy [Tue, 6 Aug 2013 06:51:03 +0000 (20:51 -1000)]
remove typo

13 years agofix typo
Kevin McCarthy [Tue, 6 Aug 2013 06:47:57 +0000 (20:47 -1000)]
fix typo

13 years agoadd unit tests for Cassette implementation
Kevin McCarthy [Tue, 6 Aug 2013 06:30:31 +0000 (20:30 -1000)]
add unit tests for Cassette implementation

13 years agoadd unit tests
Kevin McCarthy [Tue, 6 Aug 2013 06:05:13 +0000 (20:05 -1000)]
add unit tests

13 years agoSubstantial refactoring
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

13 years agoupdate copyright date
Kevin McCarthy [Tue, 6 Aug 2013 05:41:46 +0000 (19:41 -1000)]
update copyright date

13 years agoUpdate README / version bump for new libyaml feature
Kevin McCarthy [Thu, 25 Jul 2013 04:48:33 +0000 (18:48 -1000)]
Update README / version bump for new libyaml feature

13 years agoMerge pull request #16 from dlecocq/master
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

13 years agoUse 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

13 years agoupdate readme
Kevin McCarthy [Sat, 20 Jul 2013 09:24:33 +0000 (23:24 -1000)]
update readme

13 years agoMerge pull request #14 from vitormazzi/master
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

13 years agoRemoving patch for plain http using requests during reset
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

13 years agoUpdate stubs.py
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

13 years agobump version
Bryan Helmig [Sun, 28 Apr 2013 19:40:07 +0000 (12:40 -0700)]
bump version

13 years agopatch plain HTTP for requests
Bryan Helmig [Sun, 28 Apr 2013 19:12:22 +0000 (12:12 -0700)]
patch plain HTTP for requests

13 years agoUpdate README.md
Kevin McCarthy [Mon, 4 Mar 2013 03:00:16 +0000 (17:00 -1000)]
Update README.md

13 years agoUpdate README.md
Kevin McCarthy [Tue, 26 Feb 2013 05:15:10 +0000 (19:15 -1000)]
Update README.md

13 years agoMerge pull request #11 from tjmcewan/patch-1
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

13 years agoadd note about libyaml
Tim McEwan [Sat, 23 Feb 2013 11:37:20 +0000 (22:37 +1100)]
add note about libyaml

13 years agoUpdate Travis, Remove requirements.txt
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

13 years agoUpdate README.md
Kevin McCarthy [Fri, 22 Feb 2013 09:00:47 +0000 (23:00 -1000)]
Update README.md

13 years agoadd better pypi classifiers
Kevin McCarthy [Fri, 22 Feb 2013 08:57:35 +0000 (22:57 -1000)]
add better pypi classifiers

13 years agoUpdate README.md
Kevin McCarthy [Fri, 22 Feb 2013 08:49:05 +0000 (22:49 -1000)]
Update README.md

13 years agoupdate setup.py
Kevin McCarthy [Fri, 22 Feb 2013 08:43:57 +0000 (22:43 -1000)]
update setup.py

13 years agoreorganize tests, start using pytest
Kevin McCarthy [Fri, 22 Feb 2013 08:15:57 +0000 (22:15 -1000)]
reorganize tests, start using pytest

13 years agoMerge pull request #10 from sriprasanna/master
Kevin McCarthy [Fri, 22 Feb 2013 07:10:04 +0000 (23:10 -0800)]
Merge pull request #10 from sriprasanna/master

Handling multiple requests

13 years ago+ @bhartin - now vcr can handle multiple requests
Sri Prasanna [Thu, 21 Feb 2013 10:04:55 +0000 (13:04 +0300)]
+ @bhartin - now vcr can handle multiple requests

14 years agoUpdate .travis.yml
Kevin McCarthy [Fri, 12 Oct 2012 03:16:23 +0000 (17:16 -1000)]
Update .travis.yml

14 years agoRemove comment about missing context manager in 2.5. Closes #5
Kevin McCarthy [Fri, 12 Oct 2012 01:47:13 +0000 (15:47 -1000)]
Remove comment about missing context manager in 2.5.  Closes #5

14 years agoAdd basic support for urllib3
Kevin McCarthy [Fri, 12 Oct 2012 01:44:17 +0000 (15:44 -1000)]
Add basic support for urllib3

14 years agofix bug in travis.yml
Kevin McCarthy [Thu, 20 Sep 2012 05:52:46 +0000 (19:52 -1000)]
fix bug in travis.yml

14 years agoupdate travis to run both with and without requests library
Kevin McCarthy [Sun, 16 Sep 2012 22:38:43 +0000 (12:38 -1000)]
update travis to run both with and without requests library

14 years agoupdate readme to remove known issue
Kevin McCarthy [Sun, 16 Sep 2012 22:32:31 +0000 (12:32 -1000)]
update readme to remove known issue

14 years agoAdd Support for Requests Library
Kevin McCarthy [Thu, 6 Sep 2012 06:43:39 +0000 (20:43 -1000)]
Add Support for Requests Library

Added support and tests for the Requests library.  At least basic
support seems to be working.  The tests should run fine if you
don't have requests installed; it just won't verify the requests-
specific tests.

14 years agoAdd failing test for HTTPS requests to shame me into fixing this bug
Kevin McCarthy [Tue, 4 Sep 2012 01:32:40 +0000 (15:32 -1000)]
Add failing test for HTTPS requests to shame me into fixing this bug

14 years agotest requests GET / POST with VCR
Kevin McCarthy [Tue, 4 Sep 2012 01:13:04 +0000 (15:13 -1000)]
test requests GET / POST with VCR

14 years agoCleanup to get a bit more DRY. Hopefully doesn't break anything.
Kevin McCarthy [Mon, 2 Jul 2012 22:08:01 +0000 (12:08 -1000)]
Cleanup to get a bit more DRY. Hopefully doesn't break anything.

14 years agocleanup
Kevin McCarthy [Mon, 2 Jul 2012 20:00:18 +0000 (10:00 -1000)]
cleanup

14 years agoUpdate master
Kevin McCarthy [Mon, 2 Jul 2012 21:44:38 +0000 (11:44 -1000)]
Update master

14 years agoUpdate master
Kevin McCarthy [Mon, 2 Jul 2012 21:43:31 +0000 (11:43 -1000)]
Update master

14 years agoTry to get issues to link up in README
Kevin McCarthy [Mon, 2 Jul 2012 21:43:02 +0000 (11:43 -1000)]
Try to get issues to link up in README

14 years agoTry to get issues to link up in readme
Kevin McCarthy [Mon, 2 Jul 2012 21:42:00 +0000 (11:42 -1000)]
Try to get issues to link up in readme

14 years agoAdd a couple known issues.
Kevin McCarthy [Mon, 2 Jul 2012 21:40:49 +0000 (11:40 -1000)]
Add a couple known issues.

14 years agolet's try pypy
Kevin McCarthy [Mon, 2 Jul 2012 07:58:04 +0000 (21:58 -1000)]
let's try pypy

14 years agoguess 2.6 / 2.7 have different kwargs
Kevin McCarthy [Mon, 2 Jul 2012 07:57:51 +0000 (21:57 -1000)]
guess 2.6 / 2.7 have different kwargs

14 years agoMerge pull request #1 from msabramo/tox
Kevin McCarthy [Mon, 2 Jul 2012 07:50:04 +0000 (00:50 -0700)]
Merge pull request #1 from msabramo/tox

Add tox.ini for tox (http://tox.testrun.org/)

14 years agoFix Issue #2 - https:// URLs do not work. Not really happy with this but at least...
Kevin McCarthy [Mon, 2 Jul 2012 07:36:02 +0000 (21:36 -1000)]
Fix Issue #2 - https:// URLs do not work.  Not really happy with this but at least it works.