1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00
Commit Graph

628 Commits

Author SHA1 Message Date
Kevin McCarthy
4e36997e1a Use pytest-httpbin
This will help the test flakiness and speed up test runs.
2016-05-01 13:50:04 -10:00
Kevin McCarthy
cfc483a08d Merge pull request #244 from jaysonsantos/master
Avoid concatenating bytes with strings
2016-04-26 08:59:07 -04:00
Jayson Reis
632af2e41a Fix/ignore some flake errors 2016-01-20 12:28:46 +01:00
Jayson Reis
7fdfce65ee Add test to make sure we can post chunked binary data 2016-01-20 12:17:28 +01:00
Jayson Reis
7cc513e1d2 Avoid concatenating bytes with strings 2016-01-19 14:19:03 +01:00
Ivan 'Goat' Malison
4f3c5c0a6e Merge pull request #243 from kevin1024/response_filtering
allow filtering by response
2016-01-11 17:12:44 -08:00
Ivan Malison
43b3411e6c Fix travis check for flakes 2016-01-11 17:00:02 -08:00
Ivan Malison
99d4150df8 allow filtering by response 2016-01-11 16:07:44 -08:00
Kevin McCarthy
8d5993eced Merge pull request #242 from koobs/patch-1
Exclude __pycache__ dirs & compiled files in sdist
2016-01-10 07:35:20 -10:00
Kubilay Kocak
8a1b7c6532 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
2016-01-11 02:27:41 +11:00
Ivan 'Goat' Malison
3459d95d4f Merge pull request #234 from tobiowo/decode-compressed-response
Decode compressed response option
2015-12-31 10:18:34 -08:00
Ivan 'Goat' Malison
ebaae9bed7 Merge pull request #240 from abhinav/old-tornado
Fix crashing with Tornado 3
2015-12-31 10:17:01 -08:00
Abhinav Gupta
d780bc04dd Fix Tornado support behavior for Tornado 3.
Resolves #235.
2015-12-19 18:18:20 -08:00
Kevin McCarthy
31c358c035 Merge pull request #238 from jayvdb/tox-travis
Use tox-travis
2015-12-12 10:51:07 -10:00
John Vandenberg
573c6eee0b 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.
2015-12-13 04:22:51 +11:00
Kevin McCarthy
70c92d05d9 Merge pull request #229 from jayvdb/flakes
Fix pyflakes and pep8 errors
2015-12-05 14:06:53 -10:00
Olutobi Owoputi
5d866dd77c support python 3.4 2015-12-02 14:43:06 -08:00
Olutobi Owoputi
2d08358b5c tests / docs for decode_compressed_response 2015-12-02 12:26:23 -08:00
Olutobi Owoputi
64397d7ecc add decode_compressed_response option and filter 2015-12-02 12:25:36 -08:00
John Vandenberg
dc9cd4229b 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
2015-11-26 08:25:06 +11:00
Kevin McCarthy
6ae1b00207 Merge pull request #228 from jayvdb/travis-tox
Use tox for Travis-CI
2015-11-25 09:23:28 -05:00
John Vandenberg
54bb9aa27a Use tox for Travis-CI 2015-11-25 15:51:25 +11:00
Aron Griffis
312ed2c234 Merge pull request #223 from jayvdb/jessie-fix
Fallback to importing from urllib3
2015-11-24 15:14:09 -05:00
Kevin McCarthy
20915a79c1 Merge pull request #226 from Bjwebb/patch-1
Fix typo
2015-11-14 07:22:33 -06:00
Ben Webb
495afdddc8 Fix typo 2015-11-14 07:41:38 +00:00
Aron Griffis
dee580f971 Merge pull request #196 from agriffis/remove-replace
Enable header replacement rather than removal
2015-11-07 19:01:00 -05:00
Aron Griffis
6919c06b8c Add documentation for new features of filter_headers, filter_query_parameters and filter_post_data_parameters 2015-11-07 18:50:32 -05:00
Aron Griffis
77de8dc47e Update VCR params to use new filters. 2015-11-07 17:05:25 -05:00
Aron Griffis
cb40a45eba Add replace_post_data_parameters() 2015-11-07 17:05:25 -05:00
Aron Griffis
678586904b Add replace_query_parameters() 2015-11-07 17:05:25 -05:00
Aron Griffis
ddbf0464f4 Add replace_headers() 2015-11-07 17:05:25 -05:00
Aron Griffis
e14b94789b Add note and link for vcrpy-unittest. 2015-11-07 17:04:56 -05:00
Aron Griffis
e6dba270ec Blindly add modules to be documented 2015-11-07 16:58:10 -05:00
Aron Griffis
615cf8661a Add PyPI badge. 2015-11-07 16:47:15 -05:00
Aron Griffis
ce6656c4d5 Rename waffle badge from 'ready' to 'waffle' which seems clearer. 2015-11-07 16:47:06 -05:00
Aron Griffis
8d083ba578 Split README.rst into appropriate docs sections 2015-11-07 16:38:02 -05:00
Aron Griffis
f0f5334c40 Use sphinx_rtd_theme building docs locally 2015-11-07 16:37:16 -05:00
Aron Griffis
8de2312ccc Switch to default RtD theme 2015-11-07 15:26:22 -05:00
Aron Griffis
c3f5ae84b1 Bump docs version to match project version 1.7.4 2015-11-07 15:23:14 -05:00
Ivan Malison
f6b8e4f8e7 Lint cleanup 2015-10-25 20:30:33 -07:00
Ivan Malison
2ac3fa9abe v1.7.4 v1.7.4 2015-10-18 16:48:27 -07:00
John Vandenberg
dd8b39b29e Fallback to importing from urllib3
requests.packages.urllib3 may be literally urllib3
instead of vendored urllib3.
2015-10-15 14:56:30 +11:00
Ivan 'Goat' Malison
1324feae99 Merge pull request #217 from bcen/fix-decoration-no-return
Fix use_cassette when used as decorator does not return the wrapped function's return value
2015-10-02 00:11:20 -07:00
Bocai Cen
7990c549d1 fix decoration when in _handle_function does not return the wrapped function return value 2015-10-01 23:17:15 -04:00
Ivan 'Goat' Malison
327797c4ff Merge pull request #206 from tyewang/propogate_attribute_changes_to_real_connection_on_stubs
Attributes set on VCRConnection now also get set on the real_connection
2015-09-20 00:56:54 -07:00
Tye Wang
ac510097e0 Add TODO and elaborate on comment 2015-09-18 12:19:17 -04:00
Ivan Malison
00d973a0f5 sphinx skeleton 2015-09-13 11:27:08 -07:00
Tye Wang
79ff59feae Attributes set on VCRConnection now also get set on the real_connection 2015-09-03 14:35:28 -04:00
Ivan 'Goat' Malison
34252bc234 Merge pull request #192 from agriffis/insensitive-headers
Make request.headers always a CaseInsensitiveDict.
2015-08-28 14:47:45 -07:00
Ivan Malison
5f78657c52 test_boto cleanup 2015-08-28 13:03:09 -07:00