Ivan Malison
|
33a4fb98c6
|
Update unit tests for body matcher. Simplified logic.
|
2015-07-15 00:01:31 -07:00 |
|
Diaoul
|
c0286dfd97
|
Add body matcher unit tests
|
2015-07-11 23:22:42 +02: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 |
|
Thomas Grainger
|
41949f7dc6
|
use conditional requirements for backport libraries Fixes #147
|
2015-07-02 09:34:27 +01: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 |
|
Chase Sterling
|
5fc33c7e70
|
Add tests for explicitly specifying a path when library dir is defined
|
2015-05-15 19:06:05 -04:00 |
|
marco.santamaria
|
59aa351ca8
|
Added support for json post data in filter_post_data_parameters.
|
2015-05-14 14:13:14 +02:00 |
|
Ivan Malison
|
2323b9da5f
|
Automatically generate cassette names from function names. Add
`path_transformer` and `func_path_generator`. Closes #151.
|
2015-05-10 03:22:43 -07:00 |
|
Ivan Malison
|
0bbbc694b0
|
Make CassetteContextDecorator decorator produce reentrant functions.
Closes #150.
|
2015-05-09 23:14:00 -07:00 |
|
Kevin McCarthy
|
856c38479a
|
add failing test for requests2.7/gzip issue
|
2015-05-05 20:49:12 -10:00 |
|
Ivan Malison
|
881138cb8d
|
inject_cassette fallout.
|
2015-04-01 17:46:35 -07:00 |
|
Ivan Malison
|
639dba6f7a
|
Write test for #145 that checks behavior of with_current_defaults.
|
2015-04-01 17:30:05 -07:00 |
|
Ivan Malison
|
b9bdc6401d
|
inject_cassette kwarg.
|
2015-04-01 17:30:05 -07: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 |
|
Abhinav Gupta
|
87a25e9ab0
|
Fix httplib2 integration test.
|
2015-02-24 00:10:08 -08:00 |
|
Abhinav Gupta
|
2473bdb77a
|
Fix default port for HTTPS.
|
2015-02-23 23:37:04 -08:00 |
|
Ivan Malison
|
c0a22df7ed
|
Add ability to add custom patches to vcr and cassettes.
|
2015-01-08 10:54:27 -08:00 |
|
Ivan Malison
|
7306205b8a
|
Improve test_new_episodes_record_mode_two_times test.
|
2014-11-21 17:15:15 -08:00 |
|
Nithin Reddy
|
2a128893cc
|
Adds a test to ensure that the cassette created with "new_episodes" has different expected behavior when opened with "once".
|
2014-11-21 09:47:28 -08:00 |
|
Nithin Reddy
|
5162d183e5
|
Fixes #123. When attempting to replay the same request twice using record_mode="new_episodes", vcr.py raises UnhandledHTTPRequestError.
|
2014-11-20 19:07:21 -08:00 |
|
Ivan 'Goat' Malison
|
0e37759175
|
Merge pull request #118 from rtaboada/fix-response-stub-headers-field
Create headers field in VCRHTTPResponse. Fixes #117.
|
2014-11-03 04:07:12 -08:00 |
|
Shawn Krisman
|
b047336690
|
test_boto_stubs passes again.
|
2014-10-30 16:08:17 -07:00 |
|
Rodrigo Taboada
|
c955a5ea88
|
String in request body should be bytes.
|
2014-10-24 18:30:32 -02:00 |
|
Rodrigo Taboada
|
5423d99f5a
|
Tests for VCRHTTPResponse headers field.
|
2014-10-24 17:40:51 -02:00 |
|
Ivan Malison
|
916e7839e5
|
Actually use pytest.raises in test.
|
2014-10-07 13:45:09 -07:00 |
|
Ivan Malison
|
99692a92d2
|
Handle unicode error in json serialize properly.
|
2014-10-07 13:21:47 -07:00 |
|
Ivan Malison
|
0871c3b87c
|
Remove instance variables for filter_headers, filter_query_params, ignore_localhost and ignore_hosts. These still exist on the VCR object, but they are automatically translated into a filter function when passed to the cassette.
|
2014-09-22 17:57:22 -07:00 |
|
Ivan Malison
|
b046ee4bb1
|
Fix use_cassette decorator in python 2 by using wrapt.decorator. Add wrapt as dependency.
|
2014-09-22 16:40:09 -07:00 |
|
Ivan Malison
|
a2c947dc48
|
Fix last bit of of #109.
|
2014-09-21 05:06:28 -07:00 |
|
Ivan Malison
|
121ed79172
|
Mark bad test xfail.
|
2014-09-19 17:10:19 -07:00 |
|
Ivan Malison
|
b6e96020c1
|
Use {[testenv]deps}, instead of repeating testing requirements. Write another failing test for #109
|
2014-09-19 14:31:49 -07:00 |
|
Ivan Malison
|
8947f0fc5c
|
Add failing test for session still being attached to cassette after context is gone.
|
2014-09-18 17:03:13 -07:00 |
|
Ivan Malison
|
58fcb2b453
|
Add test that fails because of the fact that a new class is used for each cassette context instead of replacing the cassette on the existing mock connection.
|
2014-09-18 16:17:48 -07:00 |
|
Ivan Malison
|
958aac3af3
|
Use mock for patching http connection objects.
|
2014-09-18 05:32:55 -07:00 |
|
Ivan Malison
|
9a564586a4
|
Failing tests for nested context decoration.
|
2014-09-18 03:46:39 -07:00 |
|
Ivan Malison
|
643a4c91ee
|
Change use_cassette to pass a function to CassetteContextDecorator so that changes to the default settings on the vcr properly propogate.
|
2014-09-18 02:52:44 -07:00 |
|
Ivan Malison
|
472cc3bffe
|
use_cassette -> CassetteContextDecorator
|
2014-09-17 23:22:43 -07:00 |
|
Ivan Malison
|
a08c90c5d6
|
Revert "Add global toggle to use_cassette."
This reverts commit 366e2b75bb.
Conflicts:
tests/unit/test_cassettes.py
|
2014-09-17 21:42:25 -07:00 |
|
Ivan Malison
|
9a4f5f23a4
|
Add before_record_response to Cassette and VCR.
|
2014-09-17 04:10:05 -07:00 |
|