]> khamidou — GitHub mirrors - vcrpy.git/log
vcrpy.git
11 years agoMerge pull request #164 from abhinav/tornado
Ivan 'Goat' Malison [Fri, 3 Jul 2015 17:01:20 +0000 (10:01 -0700)]
Merge pull request #164 from abhinav/tornado

Tornado support

11 years agoDon't install pycurl if pypy is being used.
Abhinav Gupta [Thu, 2 Jul 2015 23:17:34 +0000 (16:17 -0700)]
Don't install pycurl if pypy is being used.

Pycurl doesn't yet support pypy.

11 years agoTornado support
Abhinav Gupta [Thu, 2 Jul 2015 00:45:28 +0000 (17:45 -0700)]
Tornado support

11 years agoMerge pull request #162 from graingert/conditional-requirements
Ivan 'Goat' Malison [Thu, 2 Jul 2015 16:25:10 +0000 (09:25 -0700)]
Merge pull request #162 from graingert/conditional-requirements

use conditional requirements for backport libraries closes #147

11 years agouse conditional requirements for backport libraries Fixes #147
Thomas Grainger [Wed, 1 Jul 2015 08:51:32 +0000 (09:51 +0100)]
use conditional requirements for backport libraries Fixes #147

11 years agoMerge pull request #161 from graingert/packaging-fixes
Ivan 'Goat' Malison [Tue, 30 Jun 2015 19:02:38 +0000 (12:02 -0700)]
Merge pull request #161 from graingert/packaging-fixes

packaging fixes

11 years agopackaging fixes
Thomas Grainger [Tue, 30 Jun 2015 11:19:05 +0000 (12:19 +0100)]
packaging fixes

11 years agoMerge pull request #159 from MrJohz/master
Ivan 'Goat' Malison [Thu, 25 Jun 2015 05:04:12 +0000 (01:04 -0400)]
Merge pull request #159 from MrJohz/master

Fix issue #158

11 years agoUpdate test to ensure that filter is correctly applied
Jonathan [Wed, 24 Jun 2015 15:27:45 +0000 (16:27 +0100)]
Update test to ensure that filter is correctly applied

11 years agoAllow filtering post params in requests
Jonathan [Wed, 24 Jun 2015 15:23:00 +0000 (16:23 +0100)]
Allow filtering post params in requests

11 years agotest for xmlrpclib to make sure #140 is actually fixed.
Ivan Malison [Tue, 9 Jun 2015 08:13:58 +0000 (01:13 -0700)]
test for xmlrpclib to make sure #140 is actually fixed.

11 years agoFix httplib endheaders if a message_body exists
Antoine Bertin [Mon, 8 Jun 2015 22:17:08 +0000 (00:17 +0200)]
Fix httplib endheaders if a message_body exists

Fixes #140

11 years agowhitespace change.
Ivan Malison [Tue, 9 Jun 2015 07:54:54 +0000 (00:54 -0700)]
whitespace change.

11 years agoFix tox.ini requests26: requests==2.6.0
Ivan Malison [Tue, 9 Jun 2015 07:53:28 +0000 (00:53 -0700)]
Fix tox.ini requests26: requests==2.6.0

11 years agoVersion 1.5.2. v1.5.2
Ivan Malison [Fri, 15 May 2015 23:54:40 +0000 (16:54 -0700)]
Version 1.5.2.

11 years agoMerge pull request #155 from gazpachoking/explicit_paths
Ivan 'Goat' Malison [Fri, 15 May 2015 23:51:03 +0000 (16:51 -0700)]
Merge pull request #155 from gazpachoking/explicit_paths

Crash when cassette path contains cassette_library_dir

11 years agoFix bug when specifying cassette path containing cassette_library_dir
Chase Sterling [Fri, 15 May 2015 23:07:18 +0000 (19:07 -0400)]
Fix bug when specifying cassette path containing cassette_library_dir

11 years agoAdd tests for explicitly specifying a path when library dir is defined
Chase Sterling [Fri, 15 May 2015 23:06:05 +0000 (19:06 -0400)]
Add tests for explicitly specifying a path when library dir is defined

11 years agoFix readme, version 1.5.1 v1.5.1
Ivan Malison [Thu, 14 May 2015 21:46:14 +0000 (14:46 -0700)]
Fix readme, version 1.5.1

11 years agoversion 1.5.0 v1.5.0
Ivan Malison [Thu, 14 May 2015 21:05:50 +0000 (14:05 -0700)]
version 1.5.0

11 years agoREADME updates.
Ivan Malison [Wed, 13 May 2015 18:01:07 +0000 (11:01 -0700)]
README updates.

11 years agoMerge pull request #154 from marco-santamaria/master
Ivan 'Goat' Malison [Thu, 14 May 2015 21:03:14 +0000 (14:03 -0700)]
Merge pull request #154 from marco-santamaria/master

Filter parameters from 'application/json' content-type POST requests

11 years agoAdded support for json post data in filter_post_data_parameters.
marco.santamaria [Wed, 13 May 2015 09:26:35 +0000 (11:26 +0200)]
Added support for json post data in filter_post_data_parameters.

11 years agoAutomatically generate cassette names from function names. Add
Ivan Malison [Sun, 10 May 2015 10:22:43 +0000 (03:22 -0700)]
Automatically generate cassette names from function names. Add
`path_transformer` and `func_path_generator`. Closes #151.

11 years agoMake CassetteContextDecorator decorator produce reentrant functions.
Ivan Malison [Sun, 10 May 2015 06:12:51 +0000 (23:12 -0700)]
Make CassetteContextDecorator decorator produce reentrant functions.
Closes #150.

11 years agoMerge pull request #153 from addgene/mw/specify-six-version
Kevin McCarthy [Fri, 8 May 2015 06:34:38 +0000 (20:34 -1000)]
Merge pull request #153 from addgene/mw/specify-six-version

Fix version of `six` dependency.

11 years agoFixed version of `six` dependency.
Morgan Wahl [Thu, 7 May 2015 19:35:26 +0000 (15:35 -0400)]
Fixed version of `six` dependency.

`from six.moves.http_client import HTTPConnection` fails before version 1.5.0 of six. (on Python 2.7, at least.)

11 years agobump version v1.4.2
Kevin McCarthy [Wed, 6 May 2015 08:22:37 +0000 (22:22 -1000)]
bump version

11 years agopython3 uses capital headers sometimes, let's do a case-agnostic header removal
Kevin McCarthy [Wed, 6 May 2015 07:59:48 +0000 (21:59 -1000)]
python3 uses capital headers sometimes, let's do a case-agnostic header removal

11 years agowe dont actually need lxml for tests
Kevin McCarthy [Wed, 6 May 2015 07:59:31 +0000 (21:59 -1000)]
we dont actually need lxml for tests

11 years agodont try to load chunked responses from cassettes, we already unchunked everything
Kevin McCarthy [Wed, 6 May 2015 07:32:32 +0000 (21:32 -1000)]
dont try to load chunked responses from cassettes, we already unchunked everything

11 years agoadd failing test for requests2.7/gzip issue
Kevin McCarthy [Wed, 6 May 2015 06:49:12 +0000 (20:49 -1000)]
add failing test for requests2.7/gzip issue

11 years agoreally add requests 2.7 to tox
Kevin McCarthy [Wed, 6 May 2015 05:50:20 +0000 (19:50 -1000)]
really add requests 2.7 to tox

11 years agoadd requests 2.7 to tox and travis
Kevin McCarthy [Wed, 6 May 2015 05:44:19 +0000 (19:44 -1000)]
add requests 2.7 to tox and travis

11 years agobump version
Kevin McCarthy [Sat, 11 Apr 2015 21:21:31 +0000 (11:21 -1000)]
bump version

11 years agoMerge pull request #148 from ralphbean/master
Kevin McCarthy [Sat, 11 Apr 2015 21:18:57 +0000 (11:18 -1000)]
Merge pull request #148 from ralphbean/master

Ship extra bits with the pypi tarball.

11 years agoShip extra bits with the pypi tarball.
Ralph Bean [Sat, 11 Apr 2015 18:53:48 +0000 (14:53 -0400)]
Ship extra bits with the pypi tarball.

This change should make new tarballs uploaded to pypi include various
nice pieces:

- The README
- The LICENSE
- The tests

The text of the license actually specifies that the full text must be
distributed with all copies of the software.  So, you need it to be in
compliance with the MIT license.

The README is just nice to have, and the tests are particularly nice for
my use case.  I am packaging vcrpy for inclusion in the Fedora linux
distribution and:

- We like to use the tarball from pypi because it is the same source
  distribution that everyone else is using.
- We like to run the tests before we build the rpm in our build system
  to make sure nothing crazy is going on.

Of course, we can use the tarball for the source and then do a second
step to clone the source and get the tests.  But, this is more work than
we like if we can just get the tests added to the tarball.  Other
distributions (like Debian) like this too.

11 years agov1.4.0 v1.4.0
Ivan Malison [Thu, 2 Apr 2015 19:20:16 +0000 (12:20 -0700)]
v1.4.0

11 years agoremove compat.py in favor of backport_collections.
Ivan Malison [Thu, 2 Apr 2015 17:32:34 +0000 (10:32 -0700)]
remove compat.py in favor of backport_collections.

11 years agoadd backport_collections, tweaks to setup.py.
Ivan Malison [Thu, 2 Apr 2015 17:23:22 +0000 (10:23 -0700)]
add backport_collections, tweaks to setup.py.

11 years agoinject_cassette fallout.
Ivan Malison [Thu, 2 Apr 2015 00:46:35 +0000 (17:46 -0700)]
inject_cassette fallout.

11 years agoWrite test for #145 that checks behavior of with_current_defaults.
Ivan Malison [Thu, 2 Apr 2015 00:26:03 +0000 (17:26 -0700)]
Write test for #145 that checks behavior of with_current_defaults.

11 years agoinject_cassette kwarg.
Ivan Malison [Thu, 2 Apr 2015 00:06:02 +0000 (17:06 -0700)]
inject_cassette kwarg.

11 years agoTouch ups.
Ivan Malison [Wed, 1 Apr 2015 22:37:36 +0000 (15:37 -0700)]
Touch ups.

11 years agofix with_current_defaults causing TypeError
Sam Stavinoha [Wed, 1 Apr 2015 02:05:12 +0000 (21:05 -0500)]
fix with_current_defaults causing TypeError

The from_args() method in cassette.py was
throwing a TypeError when calling

    use_cassette(..., with_current_defaults=True)
    ...
    TypeError: from_args() takes exactly 3 arguments (4 given)

The path was then being passed to use() twice.

11 years agofallback to compat OrderedDict if collections.OrderedDict unavailable
Edward Stone [Tue, 31 Mar 2015 19:14:22 +0000 (12:14 -0700)]
fallback to compat OrderedDict if collections.OrderedDict unavailable

11 years agofix docs for post data filter
Edward Stone [Tue, 31 Mar 2015 05:35:18 +0000 (22:35 -0700)]
fix docs for post data filter

11 years agoAdd ability to filter post data parameters
Edward Stone [Tue, 31 Mar 2015 05:30:03 +0000 (22:30 -0700)]
Add ability to filter post data parameters

11 years agoGet rid of all the constructor parameters that were removed in 0871c3b87c82a3a4167b68...
Ivan Malison [Tue, 31 Mar 2015 20:03:11 +0000 (13:03 -0700)]
Get rid of all the constructor parameters that were removed in 0871c3b87c82a3a4167b68fac8fcf6fde82e8409

11 years agoUpdate copyright.
Ivan Malison [Tue, 31 Mar 2015 20:02:59 +0000 (13:02 -0700)]
Update copyright.

11 years agoPossible fix for #140.
Ivan Malison [Wed, 25 Mar 2015 00:09:57 +0000 (17:09 -0700)]
Possible fix for #140.

11 years agoMerge pull request #141 from IvanMalison/post_files_through_requests
Ivan 'Goat' Malison [Tue, 24 Mar 2015 23:43:13 +0000 (16:43 -0700)]
Merge pull request #141 from IvanMalison/post_files_through_requests

Add support for posting files through requests. closes #121

11 years agoFix python3 support for requests file uploads.
Ivan Malison [Tue, 24 Mar 2015 22:41:14 +0000 (15:41 -0700)]
Fix python3 support for requests file uploads.

11 years agoAdd mention of urllib3 support in readme.
Ivan Malison [Tue, 24 Mar 2015 21:24:47 +0000 (14:24 -0700)]
Add mention of urllib3 support in readme.

11 years agoAdd setter to body on vcr's request.
Ivan Malison [Tue, 24 Mar 2015 21:08:58 +0000 (14:08 -0700)]
Add setter to body on vcr's request.

11 years agoDon't use 2.7+ style ',' separated with.
Ivan Malison [Tue, 24 Mar 2015 21:08:31 +0000 (14:08 -0700)]
Don't use 2.7+ style ',' separated with.

11 years agoAdd support for posting files through requests. closes #121. Possibly #134.
Ivan Malison [Tue, 24 Mar 2015 20:27:23 +0000 (13:27 -0700)]
Add support for posting files through requests. closes #121. Possibly #134.

11 years agofix tox/urllib3 stuff.
Ivan Malison [Tue, 24 Mar 2015 21:10:14 +0000 (14:10 -0700)]
fix tox/urllib3 stuff.

11 years agoVersion 1.3.0. v1.3.0
Ivan Malison [Tue, 24 Mar 2015 01:10:26 +0000 (18:10 -0700)]
Version 1.3.0.

11 years agoclarifying comment in patch.py.
Ivan Malison [Tue, 24 Mar 2015 01:00:23 +0000 (18:00 -0700)]
clarifying comment in patch.py.

11 years agounused imports.
Ivan Malison [Tue, 24 Mar 2015 00:55:38 +0000 (17:55 -0700)]
unused imports.

11 years agoClarifying comments in patch.py.
Ivan Malison [Tue, 24 Mar 2015 00:54:06 +0000 (17:54 -0700)]
Clarifying comments in patch.py.

11 years agoUse suggested emacs style coding statements (see https://www.python.org/dev/peps...
Ivan Malison [Tue, 24 Mar 2015 00:53:39 +0000 (17:53 -0700)]
Use suggested emacs style coding statements (see https://www.python.org/dev/peps/pep-0263/).

11 years agoMerge pull request #138 from aisch/patch-and-test-urllib3
Ivan 'Goat' Malison [Tue, 24 Mar 2015 00:47:42 +0000 (17:47 -0700)]
Merge pull request #138 from aisch/patch-and-test-urllib3

update urllib3 patch/stub to be same as used for requests and add tests

11 years agorm unused imports
aisch [Mon, 23 Mar 2015 20:56:48 +0000 (13:56 -0700)]
rm unused imports

11 years agorename urllib3 patch method and rm unused imports from tests
aisch [Mon, 23 Mar 2015 20:43:30 +0000 (13:43 -0700)]
rename urllib3 patch method and rm unused imports from tests

11 years agoupdate urllib3 patch/stub to be same as used for requests and add tests
aisch [Mon, 23 Mar 2015 19:12:49 +0000 (12:12 -0700)]
update urllib3 patch/stub to be same as used for requests and add tests

11 years agoMerge pull request #136 from abhinav/https-port-fix
Kevin McCarthy [Tue, 24 Feb 2015 19:12:49 +0000 (09:12 -1000)]
Merge pull request #136 from abhinav/https-port-fix

Fix default port for HTTPS

11 years agoFix httplib2 integration test.
Abhinav Gupta [Tue, 24 Feb 2015 08:09:44 +0000 (00:09 -0800)]
Fix httplib2 integration test.

11 years agoFix default port for HTTPS.
Abhinav Gupta [Tue, 24 Feb 2015 07:37:04 +0000 (23:37 -0800)]
Fix default port for HTTPS.

11 years agoMerge pull request #135 from RomuloOliveira/patch-1
Ivan 'Goat' Malison [Wed, 28 Jan 2015 20:02:57 +0000 (12:02 -0800)]
Merge pull request #135 from RomuloOliveira/patch-1

Fix missing quotes on Custom Response Filtering

11 years agoFix missing quotes on Custom Response Filtering
Rômulo Oliveira [Wed, 28 Jan 2015 13:34:47 +0000 (11:34 -0200)]
Fix missing quotes on Custom Response Filtering

Missing quotes are bad

11 years agoAdd custom_patches section to README.md
Ivan Malison [Thu, 8 Jan 2015 22:00:33 +0000 (14:00 -0800)]
Add custom_patches section to README.md

11 years agoMerge pull request #133 from IvanMalison/custom_patches v1.2.0
Ivan 'Goat' Malison [Thu, 8 Jan 2015 19:08:55 +0000 (11:08 -0800)]
Merge pull request #133 from IvanMalison/custom_patches

Custom patches

11 years agoBump version to 1.2.0
Ivan Malison [Thu, 8 Jan 2015 18:56:39 +0000 (10:56 -0800)]
Bump version to 1.2.0

11 years agoAdd ability to add custom patches to vcr and cassettes.
Ivan Malison [Thu, 8 Jan 2015 18:53:44 +0000 (10:53 -0800)]
Add ability to add custom patches to vcr and cassettes.

11 years agoBump vesrsion to 1.1.4, add to release notes. v1.1.4
Ivan Malison [Fri, 26 Dec 2014 10:26:24 +0000 (05:26 -0500)]
Bump vesrsion to 1.1.4, add to release notes.

11 years agoAdd force reset around calls to actual connection from stubs, to ensure
Ivan Malison [Fri, 26 Dec 2014 10:07:02 +0000 (05:07 -0500)]
Add force reset around calls to actual connection from stubs, to ensure
compatibility with version of httplib/urlib2 in python 2.7.9. Closes #130.

11 years agoMerge pull request #128 from gazpachoking/patch-1
Kevin McCarthy [Tue, 9 Dec 2014 18:55:52 +0000 (08:55 -1000)]
Merge pull request #128 from gazpachoking/patch-1

Update changelog to note requests 2.5 support

11 years agoUpdate changelog to note requests 2.5 support
Chase Sterling [Tue, 9 Dec 2014 18:26:46 +0000 (13:26 -0500)]
Update changelog to note requests 2.5 support

11 years agoupdate release notes v1.1.3
Kevin McCarthy [Tue, 9 Dec 2014 03:08:41 +0000 (17:08 -1000)]
update release notes

11 years agoMerge pull request #127 from gazpachoking/1.1.3
Kevin McCarthy [Tue, 9 Dec 2014 03:09:07 +0000 (17:09 -1000)]
Merge pull request #127 from gazpachoking/1.1.3

Version bump to v1.1.3

11 years agoVersion bump to v1.1.3
Chase Sterling [Tue, 9 Dec 2014 02:43:01 +0000 (21:43 -0500)]
Version bump to v1.1.3

11 years agoMerge pull request #125 from gazpachoking/pool_is_none
Ivan 'Goat' Malison [Mon, 8 Dec 2014 21:20:36 +0000 (13:20 -0800)]
Merge pull request #125 from gazpachoking/pool_is_none

Fix crash with requests 2.5 where connectionpool was None

11 years agoMerge pull request #126 from gazpachoking/116
Ivan 'Goat' Malison [Mon, 8 Dec 2014 20:29:34 +0000 (12:29 -0800)]
Merge pull request #126 from gazpachoking/116

Play back requests requests on windows. fix #116

11 years agoAdd requests 2.5 to testing list in .travis.yml and tox.ini
Chase Sterling [Mon, 8 Dec 2014 19:40:55 +0000 (14:40 -0500)]
Add requests 2.5 to testing list in .travis.yml and tox.ini

11 years agoPlay back requests requests on windows. fix #116
Chase Sterling [Mon, 8 Dec 2014 19:28:48 +0000 (14:28 -0500)]
Play back requests requests on windows. fix #116

11 years agoFix crash with requests 2.5 where connectionpool was None
Chase Sterling [Sun, 7 Dec 2014 18:49:23 +0000 (13:49 -0500)]
Fix crash with requests 2.5 where connectionpool was None

12 years agoImprove test_new_episodes_record_mode_two_times test.
Ivan Malison [Sat, 22 Nov 2014 01:15:15 +0000 (17:15 -0800)]
Improve test_new_episodes_record_mode_two_times test.

12 years agoAdds a test to ensure that the cassette created with "new_episodes" has different...
Nithin Reddy [Fri, 21 Nov 2014 17:47:28 +0000 (09:47 -0800)]
Adds a test to ensure that the cassette created with "new_episodes" has different expected behavior when opened with "once".

12 years agoFixes #123. When attempting to replay the same request twice using record_mode="new_e...
Nithin Reddy [Fri, 21 Nov 2014 03:07:21 +0000 (19:07 -0800)]
Fixes #123. When attempting to replay the same request twice using record_mode="new_episodes", vcr.py raises UnhandledHTTPRequestError.

12 years agoRemove warning message caused by lack of is_verified property on HTTPSConnection...
Ivan Malison [Fri, 14 Nov 2014 00:32:33 +0000 (16:32 -0800)]
Remove warning message caused by lack of is_verified property on HTTPSConnection stub.

12 years agoMerge pull request #118 from rtaboada/fix-response-stub-headers-field
Ivan 'Goat' Malison [Mon, 3 Nov 2014 12:07:12 +0000 (04:07 -0800)]
Merge pull request #118 from rtaboada/fix-response-stub-headers-field

Create headers field in VCRHTTPResponse. Fixes #117.

12 years agoMerge pull request #119 from telaviv/make_boto_tests_pass_again
Ivan 'Goat' Malison [Fri, 31 Oct 2014 07:14:45 +0000 (00:14 -0700)]
Merge pull request #119 from telaviv/make_boto_tests_pass_again

test_boto_stubs passes again.

12 years agotest_boto_stubs passes again.
Shawn Krisman [Thu, 30 Oct 2014 23:08:17 +0000 (16:08 -0700)]
test_boto_stubs passes again.

12 years agoString in request body should be bytes.
Rodrigo Taboada [Fri, 24 Oct 2014 20:30:06 +0000 (18:30 -0200)]
String in request body should be bytes.

12 years agoTests for VCRHTTPResponse headers field.
Rodrigo Taboada [Fri, 24 Oct 2014 19:40:51 +0000 (17:40 -0200)]
Tests for VCRHTTPResponse headers field.

12 years agoCreate headers field in VCRHTTPResponse. Fixes #117.
Rodrigo Taboada [Fri, 24 Oct 2014 17:42:30 +0000 (15:42 -0200)]
Create headers field in VCRHTTPResponse. Fixes #117.

12 years agoversion bump to v1.1.2 v1.1.2
Ivan Malison [Wed, 8 Oct 2014 19:11:53 +0000 (12:11 -0700)]
version bump to v1.1.2

12 years agoActually use pytest.raises in test.
Ivan Malison [Tue, 7 Oct 2014 20:45:09 +0000 (13:45 -0700)]
Actually use pytest.raises in test.