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
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 '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
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
eda64bc3be
Make request.headers always a CaseInsensitiveDict.
...
Previously request.headers was a normal dict (albeit with the
request.add_header interface) which meant that some code paths would do
case-sensitive matching, for example remove_post_data_parameters which
tests for 'Content-Type'. This change allows all code paths to get the same
case-insensitive treatment.
Additionally request.headers becomes a property to enforce upgrading it to
a CaseInsensitiveDict even if assigned.
2015-08-24 16:19:34 -04:00
Abhinav Gupta
1e1c093b3c
Set request_time on Tornadoo HTTPResponses
2015-08-18 15:53:35 -07:00
Maarten van Schaik
ca3200d96e
Add test for urllib2
2015-08-14 12:42:17 +02:00
Maarten van Schaik
04b5978adc
Add effective url test for httplib2
2015-08-14 12:37:34 +02:00
Maarten van Schaik
01f1f9fdc1
Verify effective_url is ok
2015-08-14 12:29:50 +02:00
Maarten van Schaik
a82e8628c2
Requests actually stores redirected request
2015-08-14 12:28:41 +02:00
Maarten van Schaik
7d68f0577a
Capture effective URL in tornado
2015-08-14 12:08:57 +02:00
Abhinav Gupta
c4a33d1cff
For Tornado AsyncHTTPClient, replace the methods instead of the class.
...
This makes it so patching works even if the user has a reference to, or an
instance of the original unpatched AsyncHTTPClient class.
Fixes #183 .
2015-08-12 10:51:08 -07:00
Abhinav Gupta
946ce17a97
Fix exception catching in coroutines.
2015-07-30 14:13:58 -07:00
Ivan Malison
4d438dac75
Fix tornado python3 tests.
2015-07-30 04:19:17 -07:00
Ivan Malison
1d000ac652
Fix all the failing tests
2015-07-30 02:08:42 -07:00
Ivan Malison
21c176ee1e
Make cassette active for duration of coroutine/generator
...
Closes #177 .
2015-07-30 01:47:29 -07:00
Abhinav Gupta
3846a4ccef
[Tornado] Fix unsupported features exception not being raised.
...
Add tests for that exception being raisd correctly and for
CannotOverwriteCassetteException.
2015-07-03 12:34:57 -07:00
Abhinav Gupta
7922fec9fe
Tornado support
2015-07-02 14:33:34 -07:00
Jonathan
e742d32a8a
Update test to ensure that filter is correctly applied
2015-06-24 16:27:45 +01:00
Jonathan
ccc1ccaa0e
Allow filtering post params in requests
2015-06-24 16:23:00 +01:00
Ivan Malison
731a33a79a
test for xmlrpclib to make sure #140 is actually fixed.
2015-06-09 01:13:58 -07:00
marco.santamaria
59aa351ca8
Added support for json post data in filter_post_data_parameters.
2015-05-14 14:13:14 +02:00
Kevin McCarthy
856c38479a
add failing test for requests2.7/gzip issue
2015-05-05 20:49:12 -10:00
Edward Stone
0def349420
Add ability to filter post data parameters
2015-03-31 13:12:13 -07:00
Ivan Malison
b948ed4857
Fix python3 support for requests file uploads.
2015-03-24 15:41:14 -07:00
Ivan Malison
4b4be7f661
Don't use 2.7+ style ',' separated with.
2015-03-24 14:11:16 -07:00
Ivan Malison
6602a449b1
Add support for posting files through requests. closes #121 . Possibly #134 .
2015-03-24 14:11:16 -07:00
Ivan Malison
39c3b15e02
unused imports.
2015-03-23 17:56:46 -07:00
Ivan Malison
5ab77e22db
Use suggested emacs style coding statements (see https://www.python.org/dev/peps/pep-0263/ ).
2015-03-23 17:55:49 -07:00
aisch
8930c97ff7
rm unused imports
2015-03-23 13:56:48 -07:00
aisch
e6b43a0374
rename urllib3 patch method and rm unused imports from tests
2015-03-23 13:43:30 -07:00
aisch
63ec95be06
update urllib3 patch/stub to be same as used for requests and add tests
2015-03-23 12:12:49 -07:00