Ivan 'Goat' Malison
d00c60a4ad
Merge pull request #193 from agriffis/new-travis
...
Container-based travis for faster tests
2015-08-24 15:13:59 -07:00
Aron Griffis
f0b7c3f1e0
Container-based travis for faster tests
2015-08-24 16:28:29 -04:00
Ivan Malison
efe6744eda
v1.7.3
v1.7.3
2015-08-23 18:10:01 -07:00
Ivan 'Goat' Malison
58f4b98f7f
Merge pull request #191 from agriffis/trivial-fixes
...
Trivial cleanups and one bugfix
2015-08-23 13:33:34 -07:00
Aron Griffis
3305f0ca7d
Repair a docstring
2015-08-23 16:33:25 -04:00
Aron Griffis
7f02d65dd9
Make hosts_to_ignore a set() earlier for clarity.
2015-08-23 16:00:52 -04:00
Aron Griffis
3e5553c56a
Don't drop passed-in before_record_response
...
This is an actual bugfix. If before_record_response is passed into VCR as
an iterable then it won't be included in filter_functions. This commit
repairs the logic to separate the tests (just as it's already done for
before_record_request).
Also use .extend() rather than looping on .append()
2015-08-23 16:00:52 -04:00
Aron Griffis
a569dd4dc8
Raise KeyError with message instead of print, just like in get_matchers below
2015-08-23 12:37:01 -04:00
Aron Griffis
eb1cdad03a
self._before_record_response can never be falsy in Cassette (just like self._before_record_request above it)
2015-08-23 12:37:01 -04:00
Aron Griffis
08bb3bd187
Remove an extra space
2015-08-23 12:37:01 -04:00
Ivan Malison
ae5580c8f9
style changes in test_vcr.py
2015-08-22 18:59:59 -07:00
Ivan Malison
f342f92f03
additional_matchers test
2015-08-22 18:58:12 -07:00
Ivan Malison
be3bf39161
Style changes in vcr/config.py
2015-08-22 18:48:04 -07:00
Ivan Malison
29d37e410a
Add additional_matchers to use_cassette
...
Closes #188 .
2015-08-22 18:06:13 -07:00
Ivan Malison
8b7e6c0ab8
v1.7.2
v1.7.2
2015-08-18 17:00:45 -07:00
Ivan Malison
bd7c6ed03f
Update comment about reentrance on cassette.py
2015-08-18 16:17:41 -07:00
Ivan 'Goat' Malison
1e414826e7
Merge pull request #187 from abhinav/master
...
Set request_time on Tornadoo HTTPResponses
2015-08-18 16:10:42 -07:00
Abhinav Gupta
1e1c093b3c
Set request_time on Tornadoo HTTPResponses
2015-08-18 15:53:35 -07:00
Ivan 'Goat' Malison
bb8f563135
Merge pull request #186 from ByteInternet/capture-effective-url
...
Capture effective url in Tornado
2015-08-18 01:55:24 -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
Ivan Malison
d0aa5fddb7
1.7.1
v1.7.1
2015-08-12 12:21:29 -07:00
Kevin McCarthy
e54aeadc68
Merge pull request #184 from abhinav/master
...
For Tornado AsyncHTTPClient, replace the methods instead of the class.
2015-08-12 09:16:22 -10: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
Ivan Malison
8b59d73f25
v1.7.0
v1.7.0
2015-08-02 13:36:57 -07:00
Ivan 'Goat' Malison
eb394b90d9
Merge pull request #181 from coagulant/fix-readme-custom-response
...
Fix example for custom response filtering in docs
2015-08-01 06:06:34 -07:00
Ilya Baryshev
14931dd47a
Fix example for custom response filtering in docs
2015-08-01 11:10:51 +03:00
Ivan Malison
89cdda86d1
fix generator test.
2015-07-30 14:22:16 -07:00
Ivan 'Goat' Malison
ad48d71897
Merge pull request #180 from abhinav/master
...
Fix exception catching in coroutines.
2015-07-30 14:21:44 -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
a234ad6b12
Fix all the tests in python 3
2015-07-30 03:39:04 -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
Ivan 'Goat' Malison
4fb5bef8e1
Merge pull request #179 from graingert/support-ancient-PyPA-tools
...
Support distribute, Fixes #178
2015-07-29 23:22:16 -07:00
Thomas Grainger
9717596e2c
Support distribute, Fixes #178
2015-07-29 22:19:45 +01:00
Ivan 'Goat' Malison
1660cc3a9f
Merge pull request #176 from charlax/patch-1
...
Make setup example pep8 compliant
2015-07-27 10:37:42 -07:00
Charles-Axel Dein
4beb023204
Make setup example pep8 compliant
...
Pretty minor doc change.
2015-07-27 18:22:51 +02:00
Ivan 'Goat' Malison
72eb5345d6
Merge pull request #175 from gward/issue163-v2
...
Fix for #163 , take 2.
2015-07-26 02:40:27 -07:00
Greg Ward
fe7d193d1a
Add several more test cases for issue #163 .
2015-07-16 14:49:48 -04:00
Greg Ward
09b7ccf561
Ensure that request bodies are always bytes, not text ( fixes #163 ).
...
It shouldn't matter whether the request body comes from a file or a
string, or whether it is passed to the Request constructor or assigned
later. It should always be stored internally as bytes.
2015-07-16 14:36:26 -04:00
Kevin McCarthy
a4a80b431b
Merge pull request #173 from graingert/patch-2
...
Fix before_record_reponse doc
2015-07-16 07:28:25 -10:00
Thomas Grainger
025a3b422d
Fix before_record_reponse doc
2015-07-16 15:13:19 +01:00
Kevin McCarthy
bb05b2fcf7
Merge pull request #172 from abhinav/patch-1
...
Add Tornado to list of supported libraries
2015-07-15 10:31:51 -10:00
Abhinav Gupta
f77ef81877
Add Tornado to list of supported libraries
2015-07-15 12:43:36 -07:00
Ivan Malison
80ece7750f
v1.6.1
v1.6.1
2015-07-15 00:25:56 -07:00
Ivan Malison
8a86d75dc5
Merge remote-tracking branch 'upstream/master' into improved_body_matcher
2015-07-15 00:10:37 -07:00