]> khamidou — GitHub mirrors - vcrpy.git/log
vcrpy.git
10 years agoMerge pull request #280 from madninja/fix_aiohttp
Kevin McCarthy [Tue, 8 Nov 2016 20:15:07 +0000 (10:15 -1000)]
Merge pull request #280 from madninja/fix_aiohttp

Fix up to support aiohttp 1.x

10 years agoFix flake errors
Marc Nijdam [Mon, 7 Nov 2016 20:03:21 +0000 (12:03 -0800)]
Fix flake errors

10 years agoFix up to support aiohttp 1.x
Marc Nijdam [Mon, 7 Nov 2016 18:07:08 +0000 (10:07 -0800)]
Fix up to support aiohttp 1.x

10 years agobump version to 1.10.3 v1.10.3
Kevin McCarthy [Sun, 2 Oct 2016 22:14:27 +0000 (12:14 -1000)]
bump version to 1.10.3

10 years agoMerge pull request #278 from kevin1024/empty_response_body
Kevin McCarthy [Sun, 2 Oct 2016 22:10:04 +0000 (12:10 -1000)]
Merge pull request #278 from kevin1024/empty_response_body

Empty response body

10 years agoMerge pull request #279 from kevin1024/fix_nonetype_encode_exception
Kevin McCarthy [Sun, 2 Oct 2016 22:09:55 +0000 (12:09 -1000)]
Merge pull request #279 from kevin1024/fix_nonetype_encode_exception

Fix nonetype encode exception

10 years agoMerge pull request #277 from kevin1024/fix_asyncio
Kevin McCarthy [Sun, 2 Oct 2016 22:09:48 +0000 (12:09 -1000)]
Merge pull request #277 from kevin1024/fix_asyncio

Fix asyncio

10 years agofix flake8 failure fix_nonetype_encode_exception
Kevin McCarthy [Sun, 2 Oct 2016 22:08:02 +0000 (12:08 -1000)]
fix flake8 failure

10 years agotest serializers.compat.convert_to_bytes()
Gregory Roussac [Tue, 30 Aug 2016 13:06:03 +0000 (15:06 +0200)]
test serializers.compat.convert_to_bytes()

10 years agoVCR AttributeError: 'NoneType' object has no attribute 'encode'
Gregory Roussac [Thu, 25 Aug 2016 15:23:12 +0000 (17:23 +0200)]
VCR AttributeError: 'NoneType' object has no attribute 'encode'

Hi,

Using an old fork but may be usefull.

I think checking the string is required like on line 47.

Best regards

10 years agoadd test from @mbachry empty_response_body
Kevin McCarthy [Sun, 2 Oct 2016 20:24:19 +0000 (10:24 -1000)]
add test from @mbachry

10 years agoHandle empty body
Janez Troha [Wed, 2 Dec 2015 11:22:57 +0000 (12:22 +0100)]
Handle empty body

10 years agoadd tests for aiohttp params fix fix_asyncio
Luiz Menezes [Sat, 1 Oct 2016 04:17:13 +0000 (01:17 -0300)]
add tests for aiohttp params fix

10 years agoFix missing query string while params are passed in inside params argument
Alexander Novikov [Tue, 16 Aug 2016 12:06:35 +0000 (05:06 -0700)]
Fix missing query string while params are passed in inside params argument

10 years agobump version
Kevin McCarthy [Wed, 14 Sep 2016 01:49:18 +0000 (15:49 -1000)]
bump version

10 years agobump version v1.10.1
Kevin McCarthy [Mon, 12 Sep 2016 04:02:37 +0000 (18:02 -1000)]
bump version

10 years agoMerge pull request #272 from puiterwijk/fix-270
Kevin McCarthy [Fri, 9 Sep 2016 21:54:08 +0000 (11:54 -1000)]
Merge pull request #272 from puiterwijk/fix-270

Move vcr.stubs.aiohttp_stub to a package

10 years agoMove vcr.stubs.aiohttp_stub to a package
Patrick Uiterwijk [Fri, 9 Sep 2016 20:45:16 +0000 (20:45 +0000)]
Move vcr.stubs.aiohttp_stub to a package

find_packages(exclude=) only works with packages, not modules.
So this fixes install_lib for python2 by correctly excluding that module.

Fixes: #270
Fixes: #271
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
10 years agoMerge pull request #271 from lamenezes/fix-py2-setup
Kevin McCarthy [Fri, 9 Sep 2016 16:38:10 +0000 (06:38 -1000)]
Merge pull request #271 from lamenezes/fix-py2-setup

Exclude aiohttp from python < 3 setup

10 years agoExclude aiohttp from python < 3 setup
Luiz Menezes [Thu, 1 Sep 2016 01:15:24 +0000 (22:15 -0300)]
Exclude aiohttp from python < 3 setup

10 years agoversion bump to 1.10.0 v1.10.0
Kevin McCarthy [Sun, 14 Aug 2016 20:41:25 +0000 (10:41 -1000)]
version bump to 1.10.0

10 years agoMerge pull request #266 from lamenezes/aiohttp-support
Kevin McCarthy [Sun, 14 Aug 2016 20:37:14 +0000 (10:37 -1000)]
Merge pull request #266 from lamenezes/aiohttp-support

Aiohttp support

10 years agoremove py26-flakes test
Luiz Menezes [Fri, 12 Aug 2016 16:50:29 +0000 (13:50 -0300)]
remove py26-flakes test

10 years agofix flake8: ignore yield from syntax errors
Luiz Menezes [Thu, 11 Aug 2016 22:44:21 +0000 (19:44 -0300)]
fix flake8: ignore yield from syntax errors

10 years agorename file
Luiz Menezes [Thu, 11 Aug 2016 11:32:47 +0000 (08:32 -0300)]
rename file

10 years agofix tox's flakes tests
Luiz Menezes [Wed, 10 Aug 2016 21:24:13 +0000 (18:24 -0300)]
fix tox's flakes tests

10 years agofix test_aiohttp
Luiz Menezes [Wed, 10 Aug 2016 20:42:13 +0000 (17:42 -0300)]
fix test_aiohttp

10 years agofix tests
Luiz Menezes [Wed, 10 Aug 2016 18:56:19 +0000 (15:56 -0300)]
fix tests

10 years agoremove async/await from aiohttp_stubs to support python 3.4
Luiz Menezes [Thu, 4 Aug 2016 21:12:28 +0000 (18:12 -0300)]
remove async/await from aiohttp_stubs to support python 3.4

10 years agofix .travis.yml
Luiz Menezes [Thu, 4 Aug 2016 16:55:34 +0000 (13:55 -0300)]
fix .travis.yml

10 years agoadd aiohttp to tests config
Luiz Menezes [Thu, 4 Aug 2016 16:44:11 +0000 (13:44 -0300)]
add aiohttp to tests config

10 years agoadd integration tests for aiohttp
Luiz Menezes [Thu, 4 Aug 2016 16:40:04 +0000 (13:40 -0300)]
add integration tests for aiohttp

10 years agofix aiohttp_stubs.vcr_request error message
Luiz Menezes [Thu, 4 Aug 2016 16:39:46 +0000 (13:39 -0300)]
fix aiohttp_stubs.vcr_request error message

10 years agofix aiohttp response closing
Luiz Menezes [Thu, 4 Aug 2016 16:39:09 +0000 (13:39 -0300)]
fix aiohttp response closing

10 years agoremove CIMultiDictProxy from aiohttp_stubs.vcr_request
Luiz Menezes [Thu, 4 Aug 2016 16:37:51 +0000 (13:37 -0300)]
remove CIMultiDictProxy from aiohttp_stubs.vcr_request

10 years agoadd support for aiohttp
Luiz Menezes [Thu, 4 Aug 2016 03:21:49 +0000 (00:21 -0300)]
add support for aiohttp

10 years agoMerge pull request #265 from adamchainz/readthedocs.io
Kevin McCarthy [Sat, 16 Jul 2016 19:08:29 +0000 (09:08 -1000)]
Merge pull request #265 from adamchainz/readthedocs.io

Convert readthedocs links for their .org -> .io migration for hosted projects

10 years agofix flaky test
Kevin McCarthy [Sat, 16 Jul 2016 18:58:07 +0000 (08:58 -1000)]
fix flaky test

10 years agobump version to 1.9.0 v1.9.0
Kevin McCarthy [Sat, 16 Jul 2016 18:07:51 +0000 (08:07 -1000)]
bump version to 1.9.0

10 years agoConvert readthedocs links for their .org -> .io migration for hosted projects
Adam Chainz [Wed, 13 Jul 2016 22:24:04 +0000 (23:24 +0100)]
Convert readthedocs links for their .org -> .io migration for hosted projects

As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.

10 years agounzip bodies before comparing. Fixes #261
Kevin McCarthy [Sun, 3 Jul 2016 21:58:01 +0000 (11:58 -1000)]
unzip bodies before comparing.  Fixes #261

10 years agoMerge pull request #247 from dedsm/boto3_support
Kevin McCarthy [Sun, 3 Jul 2016 00:00:02 +0000 (14:00 -1000)]
Merge pull request #247 from dedsm/boto3_support

Adding support for boto3

10 years agoRunning boto3 tests in travis
David de Sousa [Wed, 22 Jun 2016 14:56:32 +0000 (16:56 +0200)]
Running boto3 tests in travis

10 years agoFixing pep8 errors in boto tests
David de Sousa [Wed, 22 Jun 2016 14:54:25 +0000 (16:54 +0200)]
Fixing pep8 errors in boto tests

10 years agoboto3 integration tests
bogdan barna [Wed, 22 Jun 2016 10:51:13 +0000 (13:51 +0300)]
boto3 integration tests

10 years agoAdding support for boto3
David de Sousa [Fri, 11 Mar 2016 10:05:58 +0000 (11:05 +0100)]
Adding support for boto3

10 years agoMerge pull request #260 from foobarna/fix-tests
Kevin McCarthy [Fri, 24 Jun 2016 16:48:51 +0000 (06:48 -1000)]
Merge pull request #260 from foobarna/fix-tests

fix tests in stubs, requests ssl verification and httpbin+flask

10 years agofix tests in stubs, requests ssl verification and httpbin+flask
bogdan barna [Fri, 24 Jun 2016 08:43:01 +0000 (11:43 +0300)]
fix tests in stubs, requests ssl verification and httpbin+flask

10 years agoMerge pull request #259 from nickdirienzo/master
Kevin McCarthy [Wed, 22 Jun 2016 06:45:27 +0000 (20:45 -1000)]
Merge pull request #259 from nickdirienzo/master

Fix deepcopy issue for response headers when `decode_compressed_response` is enabled

10 years agoRemoved requests usage from test
Nick DiRienzo [Tue, 21 Jun 2016 14:14:51 +0000 (07:14 -0700)]
Removed requests usage from test

10 years agoRenamed inside2 to inside
Nick DiRienzo [Tue, 21 Jun 2016 14:00:53 +0000 (07:00 -0700)]
Renamed inside2 to inside

10 years agoFix flake8 issue
Nick DiRienzo [Tue, 21 Jun 2016 13:54:05 +0000 (06:54 -0700)]
Fix flake8 issue

10 years agoUpdated comments
Nick DiRienzo [Tue, 21 Jun 2016 06:43:47 +0000 (23:43 -0700)]
Updated comments

10 years agoAdded a note on the deepcopy
Nick DiRienzo [Tue, 21 Jun 2016 06:36:51 +0000 (23:36 -0700)]
Added a note on the deepcopy

10 years agoAdded regression test
Nick DiRienzo [Tue, 21 Jun 2016 06:23:31 +0000 (23:23 -0700)]
Added regression test

10 years agoMove deepcopy higher to not mutate original headers
Nick DiRienzo [Mon, 20 Jun 2016 23:57:40 +0000 (16:57 -0700)]
Move deepcopy higher to not mutate original headers

10 years agov 1.8.0 v1.8.0
Ivan Malison [Thu, 9 Jun 2016 19:16:14 +0000 (12:16 -0700)]
v 1.8.0

10 years agomissed a httpbin call
Kevin McCarthy [Mon, 2 May 2016 03:15:54 +0000 (17:15 -1000)]
missed a httpbin call

10 years agoMerge pull request #253 from jayvdb/no-pytest-localserver
Kevin McCarthy [Mon, 2 May 2016 02:43:09 +0000 (16:43 -1000)]
Merge pull request #253 from jayvdb/no-pytest-localserver

Remove pytest-localserver from test dependencies

10 years agoRemove pytest-localserver from test dependencies
John Vandenberg [Mon, 2 May 2016 01:55:35 +0000 (08:55 +0700)]
Remove pytest-localserver from test dependencies

pytest-localserver is no longer needed after
the switch to using pytest-httpbin.

10 years agopep8
Kevin McCarthy [Mon, 2 May 2016 00:44:13 +0000 (14:44 -1000)]
pep8

10 years agoFix for Serialization errors with JSON adapter
Aliaksandr Buhayeu [Wed, 2 Dec 2015 13:33:58 +0000 (16:33 +0300)]
Fix for Serialization errors with JSON adapter

This patch aims to fix the issue#222,
where json data in request can not be serialized
because of TypeError in py3

10 years agoMerge pull request #149 from kevin1024/pytest-httpbin
Kevin McCarthy [Mon, 2 May 2016 00:19:54 +0000 (14:19 -1000)]
Merge pull request #149 from kevin1024/pytest-httpbin

WIP: add pytest-httpbin

10 years agoUse pytest-httpbin pytest-httpbin
Kevin McCarthy [Sat, 11 Apr 2015 23:07:17 +0000 (13:07 -1000)]
Use pytest-httpbin

This will help the test flakiness and speed up test runs.

10 years agoMerge pull request #252 from jayvdb/travis-more-versions
Kevin McCarthy [Sun, 1 May 2016 17:20:48 +0000 (07:20 -1000)]
Merge pull request #252 from jayvdb/travis-more-versions

Add Python 3.5 and PyPy 3 to Travis

10 years agoAdd Python 3.5 and PyPy 3 to Travis
John Vandenberg [Sat, 30 Apr 2016 23:29:27 +0000 (06:29 +0700)]
Add Python 3.5 and PyPy 3 to Travis

10 years agoMerge pull request #244 from jaysonsantos/master
Kevin McCarthy [Tue, 26 Apr 2016 12:59:07 +0000 (08:59 -0400)]
Merge pull request #244 from jaysonsantos/master

Avoid concatenating bytes with strings

10 years agoFix/ignore some flake errors
Jayson Reis [Wed, 20 Jan 2016 11:28:46 +0000 (12:28 +0100)]
Fix/ignore some flake errors

10 years agoAdd test to make sure we can post chunked binary data
Jayson Reis [Wed, 20 Jan 2016 11:17:28 +0000 (12:17 +0100)]
Add test to make sure we can post chunked binary data

10 years agoAvoid concatenating bytes with strings
Jayson Reis [Tue, 19 Jan 2016 13:19:03 +0000 (14:19 +0100)]
Avoid concatenating bytes with strings

10 years agoMerge pull request #243 from kevin1024/response_filtering
Ivan 'Goat' Malison [Tue, 12 Jan 2016 01:12:44 +0000 (17:12 -0800)]
Merge pull request #243 from kevin1024/response_filtering

allow filtering by response

10 years agoFix travis check for flakes response_filtering
Ivan Malison [Tue, 12 Jan 2016 00:57:10 +0000 (16:57 -0800)]
Fix travis check for flakes

10 years agoallow filtering by response
Ivan Malison [Mon, 11 Jan 2016 23:53:04 +0000 (15:53 -0800)]
allow filtering by response

10 years agoMerge pull request #242 from koobs/patch-1
Kevin McCarthy [Sun, 10 Jan 2016 17:35:20 +0000 (07:35 -1000)]
Merge pull request #242 from koobs/patch-1

Exclude __pycache__ dirs & compiled files in sdist

10 years agoExclude __pycache__ dirs & compiled files in sdist
Kubilay Kocak [Sun, 10 Jan 2016 15:27:41 +0000 (02:27 +1100)]
Exclude __pycache__ dirs & compiled files in sdist

The current vcrpy sdist on PyPI includes __pycache__ dirs and compiled files which causes tests to fail when running tests via setup.py test

import file mismatch:
imported module 'test_persist' has this __file__ attribute:
  /Users/imalison/Projects/vcrpy/tests/unit/test_persist.py
which is not the same as the test file we want to collect:
  /usr/home/user/repos/freebsd/ports/devel/py-vcrpy/work/vcrpy-1.7.4/tests/unit/test_persist.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules

This change recursively excludes these directories and files from future source distributions

10 years agoMerge pull request #234 from tobiowo/decode-compressed-response
Ivan 'Goat' Malison [Thu, 31 Dec 2015 18:18:34 +0000 (10:18 -0800)]
Merge pull request #234 from tobiowo/decode-compressed-response

Decode compressed response option

10 years agoMerge pull request #240 from abhinav/old-tornado
Ivan 'Goat' Malison [Thu, 31 Dec 2015 18:17:01 +0000 (10:17 -0800)]
Merge pull request #240 from abhinav/old-tornado

Fix crashing with Tornado 3

10 years agoFix Tornado support behavior for Tornado 3.
Abhinav Gupta [Sun, 20 Dec 2015 02:18:20 +0000 (18:18 -0800)]
Fix Tornado support behavior for Tornado 3.

Resolves #235.

10 years agoMerge pull request #238 from jayvdb/tox-travis
Kevin McCarthy [Sat, 12 Dec 2015 20:51:07 +0000 (10:51 -1000)]
Merge pull request #238 from jayvdb/tox-travis

Use tox-travis

10 years agoUse tox-travis
John Vandenberg [Sat, 12 Dec 2015 16:45:15 +0000 (03:45 +1100)]
Use tox-travis

dc9cd42 introduced Travis checking of flakes using tox.
However tox.ini only defined 'flakes-py34', so Travis
was only invoking flake8 on Python 3.4, and invoking
py.test on other Python versions.

As tox factors only work properly on the default testenv,
use a generic tox environment 'flakes', and use tox-travis
to select the correct basepython.

10 years agoMerge pull request #229 from jayvdb/flakes
Kevin McCarthy [Sun, 6 Dec 2015 00:06:53 +0000 (14:06 -1000)]
Merge pull request #229 from jayvdb/flakes

Fix pyflakes and pep8 errors

10 years agosupport python 3.4
Olutobi Owoputi [Wed, 2 Dec 2015 22:43:06 +0000 (14:43 -0800)]
support python 3.4

10 years agotests / docs for decode_compressed_response
Olutobi Owoputi [Wed, 2 Dec 2015 20:26:23 +0000 (12:26 -0800)]
tests / docs for decode_compressed_response

10 years agoadd decode_compressed_response option and filter
Olutobi Owoputi [Wed, 2 Dec 2015 20:25:36 +0000 (12:25 -0800)]
add decode_compressed_response option and filter

11 years agoFix pyflakes and pep8 errors
John Vandenberg [Tue, 24 Nov 2015 21:44:33 +0000 (08:44 +1100)]
Fix pyflakes and pep8 errors

Use extra asserts to use previously unused variables in tests,
such as `cass` and `response`.

Fix only pyflakes errors in docs/conf.py

11 years agoMerge pull request #228 from jayvdb/travis-tox
Kevin McCarthy [Wed, 25 Nov 2015 14:23:28 +0000 (09:23 -0500)]
Merge pull request #228 from jayvdb/travis-tox

Use tox for Travis-CI

11 years agoUse tox for Travis-CI
John Vandenberg [Wed, 25 Nov 2015 04:30:23 +0000 (15:30 +1100)]
Use tox for Travis-CI

11 years agoMerge pull request #223 from jayvdb/jessie-fix
Aron Griffis [Tue, 24 Nov 2015 20:14:09 +0000 (15:14 -0500)]
Merge pull request #223 from jayvdb/jessie-fix

Fallback to importing from urllib3

11 years agoMerge pull request #226 from Bjwebb/patch-1
Kevin McCarthy [Sat, 14 Nov 2015 13:22:33 +0000 (07:22 -0600)]
Merge pull request #226 from Bjwebb/patch-1

Fix typo

11 years agoFix typo
Ben Webb [Sat, 14 Nov 2015 07:41:38 +0000 (07:41 +0000)]
Fix typo

11 years agoMerge pull request #196 from agriffis/remove-replace
Aron Griffis [Sun, 8 Nov 2015 00:01:00 +0000 (19:01 -0500)]
Merge pull request #196 from agriffis/remove-replace

Enable header replacement rather than removal

11 years agoAdd documentation for new features of filter_headers, filter_query_parameters and...
Aron Griffis [Sat, 7 Nov 2015 23:50:32 +0000 (18:50 -0500)]
Add documentation for new features of filter_headers, filter_query_parameters and filter_post_data_parameters

11 years agoUpdate VCR params to use new filters.
Aron Griffis [Tue, 25 Aug 2015 02:38:36 +0000 (22:38 -0400)]
Update VCR params to use new filters.

11 years agoAdd replace_post_data_parameters()
Aron Griffis [Tue, 25 Aug 2015 11:15:51 +0000 (07:15 -0400)]
Add replace_post_data_parameters()

11 years agoAdd replace_query_parameters()
Aron Griffis [Tue, 25 Aug 2015 11:15:24 +0000 (07:15 -0400)]
Add replace_query_parameters()

11 years agoAdd replace_headers()
Aron Griffis [Tue, 25 Aug 2015 11:12:08 +0000 (07:12 -0400)]
Add replace_headers()

11 years agoAdd note and link for vcrpy-unittest.
Aron Griffis [Sat, 7 Nov 2015 22:04:56 +0000 (17:04 -0500)]
Add note and link for vcrpy-unittest.

11 years agoBlindly add modules to be documented
Aron Griffis [Sat, 7 Nov 2015 21:58:10 +0000 (16:58 -0500)]
Blindly add modules to be documented

11 years agoAdd PyPI badge.
Aron Griffis [Sat, 7 Nov 2015 21:47:15 +0000 (16:47 -0500)]
Add PyPI badge.

11 years agoRename waffle badge from 'ready' to 'waffle' which seems clearer.
Aron Griffis [Sat, 7 Nov 2015 21:47:06 +0000 (16:47 -0500)]
Rename waffle badge from 'ready' to 'waffle' which seems clearer.