]> khamidou — GitHub mirrors - vcrpy.git/log
vcrpy.git
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.

14 years agoAdd tox.ini for tox (http://tox.testrun.org/)
Marc Abramowitz [Sun, 1 Jul 2012 18:06:32 +0000 (11:06 -0700)]
Add tox.ini for tox (http://tox.testrun.org/)

14 years agoadd license
Kevin McCarthy [Sun, 1 Jul 2012 01:56:13 +0000 (15:56 -1000)]
add license

14 years agoadd tests for GET/POST/unicode, use httpbin (which is pretty sweet)
Kevin McCarthy [Sun, 1 Jul 2012 01:46:58 +0000 (15:46 -1000)]
add tests for GET/POST/unicode, use httpbin (which is pretty sweet)

14 years agooops, should probably point out that I haven't tested POST
Kevin McCarthy [Sun, 1 Jul 2012 01:14:30 +0000 (15:14 -1000)]
oops, should probably point out that I haven't tested POST

14 years agoCassettes now store multiple requests
Kevin McCarthy [Sun, 1 Jul 2012 01:10:20 +0000 (15:10 -1000)]
Cassettes now store multiple requests

14 years agoadd tests for multiple requests
Kevin McCarthy [Sat, 30 Jun 2012 22:54:00 +0000 (12:54 -1000)]
add tests for multiple requests

14 years agoadd link to requests
Kevin McCarthy [Sat, 30 Jun 2012 22:45:37 +0000 (12:45 -1000)]
add link to requests

14 years agomeh I guess HTTPS works
Kevin McCarthy [Sat, 30 Jun 2012 07:52:24 +0000 (21:52 -1000)]
meh I guess HTTPS works

14 years agoUpdate master
Kevin McCarthy [Mon, 25 Jun 2012 02:49:23 +0000 (16:49 -1000)]
Update master

14 years agoupdate README to point out pretty bad missing feature
Kevin McCarthy [Fri, 1 Jun 2012 05:51:05 +0000 (19:51 -1000)]
update README to point out pretty bad missing feature

14 years agoupdate README to point out pretty bad missing feature
Kevin McCarthy [Fri, 1 Jun 2012 05:50:23 +0000 (19:50 -1000)]
update README to point out pretty bad missing feature

14 years agoscrew python 2.5
Kevin McCarthy [Thu, 31 May 2012 09:12:53 +0000 (23:12 -1000)]
screw python 2.5

14 years agoPEP8 cleanup and make files.py work in python2.5
Kevin McCarthy [Thu, 31 May 2012 09:11:14 +0000 (23:11 -1000)]
PEP8 cleanup and make files.py work in python2.5

14 years agofix stupid bug?
Kevin McCarthy [Thu, 31 May 2012 09:08:50 +0000 (23:08 -1000)]
fix stupid bug?

14 years agolet's try the from future thingy
Kevin McCarthy [Thu, 31 May 2012 08:57:10 +0000 (22:57 -1000)]
let's try the from future thingy

14 years agonever mind, no context managers in 2.5
Kevin McCarthy [Thu, 31 May 2012 08:54:53 +0000 (22:54 -1000)]
never mind, no context managers in 2.5

14 years agomaybe fix python2.6 problem?
Kevin McCarthy [Thu, 31 May 2012 08:52:19 +0000 (22:52 -1000)]
maybe fix python2.6 problem?

14 years agolet's try a couple python versions
Kevin McCarthy [Thu, 31 May 2012 08:48:49 +0000 (22:48 -1000)]
let's try a couple python versions

14 years agolet's try this fancy build status badge thing
Kevin McCarthy [Thu, 31 May 2012 08:47:52 +0000 (22:47 -1000)]
let's try this fancy build status badge thing

14 years agocapitalization
Kevin McCarthy [Thu, 31 May 2012 08:17:09 +0000 (22:17 -1000)]
capitalization

14 years agoAdd requirements
Kevin McCarthy [Thu, 31 May 2012 08:16:35 +0000 (22:16 -1000)]
Add requirements

14 years agoadd travis.yml
Kevin McCarthy [Thu, 31 May 2012 08:12:26 +0000 (22:12 -1000)]
add travis.yml

14 years agoget headers working
Kevin McCarthy [Thu, 31 May 2012 08:03:04 +0000 (22:03 -1000)]
get headers working