kg
ba79174a1f
fixes before_record_response mutates response
...
When no cassette exists, it's expected that the response returned, should be
the original, unchanged response. The response recorded in the cassette should be
that which is returned by the before_record_response callback.
But on subsequent requests/responses (when a cassette exists), the responses
returned should be exactly what is in the cassette.
resolves #355
2018-05-24 01:12:13 +00:00
Allisson Azevedo
ad153bd733
Merge remote-tracking branch 'upstream/master'
2018-02-17 11:51:04 -03:00
Hugo
ead48b1907
xfail for test_post_chunked_binary_secure on CPython 3.5
2018-01-15 15:05:53 +02:00
Hugo
58d8980cfa
Remove dependency on bugs.python.org/xmlrpc: 301 Moved Permanently
2018-01-15 09:54:11 +02:00
Hugo
d0aa6bcc8d
Rewrite unnecessary list/tuple literals as set literals
2018-01-15 09:54:11 +02:00
Hugo
6156271c48
Automatic formatters supported in Python 2.7+
2018-01-15 09:54:11 +02:00
Hugo
87666ba2e4
Multiple context managers supported in 2.7+
2018-01-15 09:54:11 +02:00
Ivan Malison
c366852925
Merge pull request #324 from petr-bulusek/custom-persister
...
Fix of registering custom persister and test.
2017-10-25 02:17:08 -07:00
Allisson Azevedo
0cab15658f
Merge remote-tracking branch 'upstream/master'
2017-09-20 11:58:07 -03:00
Laurent Mazuel
262ad903cb
Don't unmock requests.packages if not necessary
2017-08-17 08:37:11 -07:00
Laurent Mazuel
ec60af0214
Fix mixup between httplib and urllib3
2017-08-17 08:37:11 -07:00
Petr Bulusek
8cf8d3f69c
delete ipdb.set_trace
2017-08-12 17:58:52 +02:00
Petr Bulusek
034aeb4f17
typo
2017-08-11 14:41:11 +02:00
Petr Bulusek
d59efbc6e0
Instantiating class not necessary.
2017-08-09 15:18:00 +02:00
Petr Bulusek
b753a491c9
revert PR unrelated change, better comment
2017-08-09 14:44:39 +02:00
Petr Bulusek
9092b34dd1
register custom persister fix
2017-08-09 14:25:10 +02:00
Allisson Azevedo
c55d976277
Update aiohttp_stub to work with binary content
2017-06-22 15:12:58 -03:00
Thomas Grainger
204cb8f2ac
Merge pull request #303 from graingert/support-3.6
...
support 3.6
2017-05-02 11:17:39 +01:00
Thomas Grainger
dc2dc306d5
pytest-httpbin doesn't support chunked requests on Python 3.6
2017-04-04 11:30:16 +01:00
Thomas Grainger
7514d94262
handle pytest-asyncio async def coroutines
2017-04-03 15:49:49 +01:00
Julien Funk
9e70993d57
substiture IOError with more appropriate ValueError
2017-01-19 13:10:08 -05:00
Julien Funk
6887e2cff9
remove unused imports
2017-01-15 15:04:20 -08:00
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