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
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
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
4e36997e1a
Use pytest-httpbin
...
This will help the test flakiness and speed up test runs.
2016-05-01 13:50:04 -10: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
Matt Thomson
7a5795a547
Add test to demonstrate Python 3 multiple headers bug.
2014-09-06 16:32:29 +01:00
Kevin McCarthy
9a1147196a
getheader() in stubs should be case-insensitive
2014-08-01 16:28:21 -10:00