]>
khamidou — GitHub mirrors - vcrpy.git/log
Ivan Malison [Sun, 2 Aug 2015 20:36:57 +0000 (13:36 -0700)]
v1.7.0
Ivan 'Goat' Malison [Sat, 1 Aug 2015 13:06:34 +0000 (06:06 -0700)]
Merge pull request #181 from coagulant/fix-readme-custom-response
Fix example for custom response filtering in docs
Ilya Baryshev [Sat, 1 Aug 2015 08:10:51 +0000 (11:10 +0300)]
Fix example for custom response filtering in docs
Ivan Malison [Thu, 30 Jul 2015 21:22:09 +0000 (14:22 -0700)]
fix generator test.
Ivan 'Goat' Malison [Thu, 30 Jul 2015 21:21:44 +0000 (14:21 -0700)]
Merge pull request #180 from abhinav/master
Fix exception catching in coroutines.
Abhinav Gupta [Thu, 30 Jul 2015 17:35:01 +0000 (10:35 -0700)]
Fix exception catching in coroutines.
Ivan Malison [Thu, 30 Jul 2015 11:19:17 +0000 (04:19 -0700)]
Fix tornado python3 tests.
Ivan Malison [Thu, 30 Jul 2015 10:39:04 +0000 (03:39 -0700)]
Fix all the tests in python 3
Ivan Malison [Thu, 30 Jul 2015 09:08:42 +0000 (02:08 -0700)]
Fix all the failing tests
Ivan Malison [Thu, 30 Jul 2015 08:47:29 +0000 (01:47 -0700)]
Make cassette active for duration of coroutine/generator
Closes #177.
Ivan 'Goat' Malison [Thu, 30 Jul 2015 06:22:16 +0000 (23:22 -0700)]
Merge pull request #179 from graingert/support-ancient-PyPA-tools
Support distribute, Fixes #178
Thomas Grainger [Wed, 29 Jul 2015 20:32:52 +0000 (21:32 +0100)]
Support distribute, Fixes #178
Ivan 'Goat' Malison [Mon, 27 Jul 2015 17:37:42 +0000 (10:37 -0700)]
Merge pull request #176 from charlax/patch-1
Make setup example pep8 compliant
Charles-Axel Dein [Mon, 27 Jul 2015 16:22:51 +0000 (18:22 +0200)]
Make setup example pep8 compliant
Pretty minor doc change.
Ivan 'Goat' Malison [Sun, 26 Jul 2015 09:40:27 +0000 (02:40 -0700)]
Merge pull request #175 from gward/issue163-v2
Fix for #163, take 2.
Greg Ward [Thu, 16 Jul 2015 18:49:48 +0000 (14:49 -0400)]
Add several more test cases for issue #163.
Greg Ward [Thu, 16 Jul 2015 18:36:26 +0000 (14:36 -0400)]
Ensure that request bodies are always bytes, not text (fixes #163).
It shouldn't matter whether the request body comes from a file or a
string, or whether it is passed to the Request constructor or assigned
later. It should always be stored internally as bytes.
Kevin McCarthy [Thu, 16 Jul 2015 17:28:25 +0000 (07:28 -1000)]
Merge pull request #173 from graingert/patch-2
Fix before_record_reponse doc
Thomas Grainger [Thu, 16 Jul 2015 14:13:19 +0000 (15:13 +0100)]
Fix before_record_reponse doc
Kevin McCarthy [Wed, 15 Jul 2015 20:31:51 +0000 (10:31 -1000)]
Merge pull request #172 from abhinav/patch-1
Add Tornado to list of supported libraries
Abhinav Gupta [Wed, 15 Jul 2015 19:43:36 +0000 (12:43 -0700)]
Add Tornado to list of supported libraries
Ivan Malison [Wed, 15 Jul 2015 07:25:56 +0000 (00:25 -0700)]
v1.6.1
Ivan Malison [Wed, 15 Jul 2015 07:10:37 +0000 (00:10 -0700)]
Merge remote-tracking branch 'upstream/master' into improved_body_matcher
Ivan Malison [Wed, 15 Jul 2015 03:50:09 +0000 (20:50 -0700)]
Update unit tests for body matcher. Simplified logic.
Diaoul [Tue, 14 Jul 2015 23:16:10 +0000 (01:16 +0200)]
Add a read_body helper function
Diaoul [Sat, 11 Jul 2015 21:19:09 +0000 (23:19 +0200)]
Add body matcher unit tests
Diaoul [Sat, 11 Jul 2015 21:18:45 +0000 (23:18 +0200)]
Use CaseInsensitiveDict in body matcher
Ivan 'Goat' Malison [Tue, 7 Jul 2015 23:09:46 +0000 (16:09 -0700)]
Merge pull request #170 from graingert/manual-conditional-requirements-for-old-pip
Support conditional requirements in old versions of pip
Thomas Grainger [Tue, 7 Jul 2015 10:28:49 +0000 (11:28 +0100)]
Support conditional requirements in old versions of pip
Ivan 'Goat' Malison [Sun, 5 Jul 2015 19:43:43 +0000 (12:43 -0700)]
Merge pull request #168 from graingert/patch-1
Fix RST parse errors generated by pandoc
Thomas Grainger [Sun, 5 Jul 2015 11:14:01 +0000 (12:14 +0100)]
Fix RST parse errors generated by pandoc
Diaoul [Sat, 4 Jul 2015 16:57:37 +0000 (18:57 +0200)]
Use Content-Type based approach for body matcher
When converting objects to body, dicts and sets order can change
resulting in a different but same body. This fixes the issue by
comparing the enclosed data in the body rather than the body itself
while still allowing raw body matching with the raw_body matcher.
Ivan 'Goat' Malison [Fri, 3 Jul 2015 23:04:49 +0000 (16:04 -0700)]
Merge pull request #165 from abhinav/master
[Tornado] Fix unsupported features exception not being raised.
Abhinav Gupta [Fri, 3 Jul 2015 19:32:07 +0000 (12:32 -0700)]
[Tornado] Fix unsupported features exception not being raised.
Add tests for that exception being raisd correctly and for
CannotOverwriteCassetteException.
Ivan Malison [Fri, 3 Jul 2015 17:26:52 +0000 (10:26 -0700)]
README spacing fix.
Ivan Malison [Fri, 3 Jul 2015 17:17:44 +0000 (10:17 -0700)]
v1.6.0
Ivan 'Goat' Malison [Fri, 3 Jul 2015 17:01:20 +0000 (10:01 -0700)]
Merge pull request #164 from abhinav/tornado
Tornado support
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.
Abhinav Gupta [Thu, 2 Jul 2015 00:45:28 +0000 (17:45 -0700)]
Tornado support
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
Thomas Grainger [Wed, 1 Jul 2015 08:51:32 +0000 (09:51 +0100)]
use conditional requirements for backport libraries Fixes #147
Ivan 'Goat' Malison [Tue, 30 Jun 2015 19:02:38 +0000 (12:02 -0700)]
Merge pull request #161 from graingert/packaging-fixes
packaging fixes
Thomas Grainger [Tue, 30 Jun 2015 11:19:05 +0000 (12:19 +0100)]
packaging fixes
Ivan 'Goat' Malison [Thu, 25 Jun 2015 05:04:12 +0000 (01:04 -0400)]
Merge pull request #159 from MrJohz/master
Fix issue #158
Jonathan [Wed, 24 Jun 2015 15:27:45 +0000 (16:27 +0100)]
Update test to ensure that filter is correctly applied
Jonathan [Wed, 24 Jun 2015 15:23:00 +0000 (16:23 +0100)]
Allow filtering post params in requests
Ivan Malison [Tue, 9 Jun 2015 08:13:58 +0000 (01:13 -0700)]
test for xmlrpclib to make sure #140 is actually fixed.
Antoine Bertin [Mon, 8 Jun 2015 22:17:08 +0000 (00:17 +0200)]
Fix httplib endheaders if a message_body exists
Fixes #140
Ivan Malison [Tue, 9 Jun 2015 07:54:54 +0000 (00:54 -0700)]
whitespace change.
Ivan Malison [Tue, 9 Jun 2015 07:53:28 +0000 (00:53 -0700)]
Fix tox.ini requests26: requests==2.6.0
Ivan Malison [Fri, 15 May 2015 23:54:40 +0000 (16:54 -0700)]
Version 1.5.2.
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
Chase Sterling [Fri, 15 May 2015 23:07:18 +0000 (19:07 -0400)]
Fix bug when specifying cassette path containing cassette_library_dir
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
Ivan Malison [Thu, 14 May 2015 21:46:14 +0000 (14:46 -0700)]
Fix readme, version 1.5.1
Ivan Malison [Thu, 14 May 2015 21:05:50 +0000 (14:05 -0700)]
version 1.5.0
Ivan Malison [Wed, 13 May 2015 18:01:07 +0000 (11:01 -0700)]
README updates.
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
marco.santamaria [Wed, 13 May 2015 09:26:35 +0000 (11:26 +0200)]
Added support for json post data in filter_post_data_parameters.
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.
Ivan Malison [Sun, 10 May 2015 06:12:51 +0000 (23:12 -0700)]
Make CassetteContextDecorator decorator produce reentrant functions.
Closes #150.
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.
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.)
Kevin McCarthy [Wed, 6 May 2015 08:22:37 +0000 (22:22 -1000)]
bump version
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
Kevin McCarthy [Wed, 6 May 2015 07:59:31 +0000 (21:59 -1000)]
we dont actually need lxml for tests
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
Kevin McCarthy [Wed, 6 May 2015 06:49:12 +0000 (20:49 -1000)]
add failing test for requests2.7/gzip issue
Kevin McCarthy [Wed, 6 May 2015 05:50:20 +0000 (19:50 -1000)]
really add requests 2.7 to tox
Kevin McCarthy [Wed, 6 May 2015 05:44:19 +0000 (19:44 -1000)]
add requests 2.7 to tox and travis
Kevin McCarthy [Sat, 11 Apr 2015 21:21:31 +0000 (11:21 -1000)]
bump version
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.
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.
Ivan Malison [Thu, 2 Apr 2015 19:20:16 +0000 (12:20 -0700)]
v1.4.0
Ivan Malison [Thu, 2 Apr 2015 17:32:34 +0000 (10:32 -0700)]
remove compat.py in favor of backport_collections.
Ivan Malison [Thu, 2 Apr 2015 17:23:22 +0000 (10:23 -0700)]
add backport_collections, tweaks to setup.py.
Ivan Malison [Thu, 2 Apr 2015 00:46:35 +0000 (17:46 -0700)]
inject_cassette fallout.
Ivan Malison [Thu, 2 Apr 2015 00:26:03 +0000 (17:26 -0700)]
Write test for #145 that checks behavior of with_current_defaults.
Ivan Malison [Thu, 2 Apr 2015 00:06:02 +0000 (17:06 -0700)]
inject_cassette kwarg.
Ivan Malison [Wed, 1 Apr 2015 22:37:36 +0000 (15:37 -0700)]
Touch ups.
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.
Edward Stone [Tue, 31 Mar 2015 19:14:22 +0000 (12:14 -0700)]
fallback to compat OrderedDict if collections.OrderedDict unavailable
Edward Stone [Tue, 31 Mar 2015 05:35:18 +0000 (22:35 -0700)]
fix docs for post data filter
Edward Stone [Tue, 31 Mar 2015 05:30:03 +0000 (22:30 -0700)]
Add ability to filter post data parameters
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
Ivan Malison [Tue, 31 Mar 2015 20:02:59 +0000 (13:02 -0700)]
Update copyright.
Ivan Malison [Wed, 25 Mar 2015 00:09:57 +0000 (17:09 -0700)]
Possible fix for #140.
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
Ivan Malison [Tue, 24 Mar 2015 22:41:14 +0000 (15:41 -0700)]
Fix python3 support for requests file uploads.
Ivan Malison [Tue, 24 Mar 2015 21:24:47 +0000 (14:24 -0700)]
Add mention of urllib3 support in readme.
Ivan Malison [Tue, 24 Mar 2015 21:08:58 +0000 (14:08 -0700)]
Add setter to body on vcr's request.
Ivan Malison [Tue, 24 Mar 2015 21:08:31 +0000 (14:08 -0700)]
Don't use 2.7+ style ',' separated with.
Ivan Malison [Tue, 24 Mar 2015 20:27:23 +0000 (13:27 -0700)]
Add support for posting files through requests. closes #121. Possibly #134.
Ivan Malison [Tue, 24 Mar 2015 21:10:14 +0000 (14:10 -0700)]
fix tox/urllib3 stuff.
Ivan Malison [Tue, 24 Mar 2015 01:10:26 +0000 (18:10 -0700)]
Version 1.3.0.
Ivan Malison [Tue, 24 Mar 2015 01:00:23 +0000 (18:00 -0700)]
clarifying comment in patch.py.
Ivan Malison [Tue, 24 Mar 2015 00:55:38 +0000 (17:55 -0700)]
unused imports.
Ivan Malison [Tue, 24 Mar 2015 00:54:06 +0000 (17:54 -0700)]
Clarifying comments in patch.py.
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/).
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