Ivan Malison
06b00837fc
Fix patch of FliesystemPersister.load_cassette
2017-01-13 15:29:45 -08:00
Julien Funk
a033bc729c
refactored, 1 failing test
2017-01-13 16:09:42 -05:00
Julien Funk
6f8486e0a2
allow injection of persistence methods
2017-01-12 16:41:26 -05:00
Charly
e5d6327de9
added a fix to httplib2
2017-01-11 17:54:15 -10:00
Kevin McCarthy
2454aa2eb0
Merge pull request #278 from kevin1024/empty_response_body
...
Empty response body
2016-10-02 12:10:04 -10:00
Kevin McCarthy
df5f6089af
Merge pull request #279 from kevin1024/fix_nonetype_encode_exception
...
Fix nonetype encode exception
2016-10-02 12:09:55 -10:00
Kevin McCarthy
8274b660c6
fix flake8 failure
2016-10-02 12:08:02 -10:00
Gregory Roussac
a8f1a65d62
test serializers.compat.convert_to_bytes()
2016-10-02 12:07:37 -10:00
Kevin McCarthy
1fbd65a702
add test from @mbachry
2016-10-02 10:24:38 -10:00
Luiz Menezes
973d8339b3
add tests for aiohttp params fix
2016-10-02 10:22:29 -10:00
Luiz Menezes
c65ff0e7b3
fix flake8: ignore yield from syntax errors
2016-08-11 19:48:40 -03:00
Luiz Menezes
066752aa0b
rename file
2016-08-11 08:32:47 -03:00
Luiz Menezes
609d8e35be
fix test_aiohttp
2016-08-10 18:12:38 -03:00
Luiz Menezes
ce14de8251
fix tests
2016-08-10 15:56:19 -03:00
Luiz Menezes
8851571ba7
add integration tests for aiohttp
2016-08-04 13:40:04 -03:00
Kevin McCarthy
d2368eb2c4
fix flaky test
2016-07-16 08:58:07 -10:00
Kevin McCarthy
57df0c6921
unzip bodies before comparing. Fixes #261
2016-07-03 17:27:52 -10:00
David de Sousa
6da7cd0ea5
Fixing pep8 errors in boto tests
2016-06-27 01:39:49 +02:00
bogdan barna
24df79b75f
boto3 integration tests
2016-06-27 01:39:49 +02:00
bogdan barna
5c9b0b4ccb
fix tests in stubs, requests ssl verification and httpbin+flask
2016-06-24 11:43:01 +03:00
Nick DiRienzo
c88c738df9
Removed requests usage from test
2016-06-21 07:14:51 -07:00
Nick DiRienzo
9a8067d8e7
Renamed inside2 to inside
2016-06-21 07:00:53 -07:00
Nick DiRienzo
787c6bdb77
Fix flake8 issue
2016-06-21 06:54:05 -07:00
Nick DiRienzo
c3298c25a3
Updated comments
2016-06-20 23:43:47 -07:00
Nick DiRienzo
60145983bf
Added regression test
2016-06-20 23:23:31 -07:00
Kevin McCarthy
34d07406f9
missed a httpbin call
2016-05-01 17:16:05 -10:00
Aliaksandr Buhayeu
9daf301deb
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
2016-05-01 14:22:17 -10:00
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
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
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
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
Abhinav Gupta
d780bc04dd
Fix Tornado support behavior for Tornado 3.
...
Resolves #235 .
2015-12-19 18:18:20 -08: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
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
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
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
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
Aron Griffis
3f006cc261
Merge pull request #201 from agriffis/path-transformer-default
...
Default path_transformer=None. Fixes #199
2015-08-28 07:55:13 -04:00
Aron Griffis
0eda8ba482
Default path_transformer=None. Fixes #199
2015-08-28 07:25:03 -04:00
Ivan Malison
c8180326ad
Automatically decorate dynamically added methods with auto_decorate
2015-08-28 02:17:01 -07:00
Ivan Malison
6fd04f3675
Add test_case method to VCR
...
this method provides a class that can be inherited from to decorate all
test methods on the desired class with use_cassette using the relevant vcr
2015-08-28 01:44:39 -07:00
Aron Griffis
7312229aef
Add HeadersDict, and mark add_header deprecated.
...
HeadersDict is a subclass of CaseInsensitiveDict with two new features:
1. Preserve the case of the header key from the first time it was set.
This means that later munging won't modify the key case. (You can
force picking up the new case with `del` followed by setting.)
2. If the value is a list or tuple, unpack it and store the first
element. This is the same as how `Request.add_header()` used to work.
For backward compatibility this commit preserves `Request.add_header()` but
marks it deprecated.
2015-08-25 06:30:50 -04:00