Jochen Sprickerhof
7007e944ae
pytest.mark.online tests that need internet
2023-06-18 16:52:51 +02:00
Sebastian Pipping
e3aae34ef7
Merge pull request #713 from mghantous/mg/read1
...
VCRHTTPResponse Not Working with Biopython 1.81
2023-06-12 13:08:00 +02:00
Sebastian Pipping
f4316d2dae
Merge pull request #712 from kevin1024/integrate-vcrpy-unittest
...
Integrate vcrpy-unittest (alternative to #709 )
2023-06-08 18:09:22 +02:00
Sebastian Pipping
d613a814d3
vcr/unittest: Simplify file layout
...
.. and make "from vcr.unittest import VCRTestCase" work again.
2023-06-08 16:28:34 +02:00
Sebastian Pipping
ce234e503f
docs/usage.rst: Drop needless self-reference
2023-06-08 16:28:34 +02:00
Sebastian Pipping
3527d25ce8
vcr/unittest: Simplify super(C, self) in class C to super()
...
.. for Python 3
2023-06-08 16:28:34 +02:00
Sebastian Pipping
dedb7ec403
Resolve needless inheritence from object (Python 3)
2023-06-08 16:28:34 +02:00
Sebastian Pipping
59263d6025
vcr/unittest: Resolve needless inheritence from object
2023-06-08 16:28:34 +02:00
Sebastian Pipping
2842cabec6
vcr/unittest: Remove unused logger
2023-06-08 16:28:34 +02:00
Sebastian Pipping
ad650a7ee1
vcr/unittest: Apply black formatting
2023-06-08 16:28:34 +02:00
Sebastian Pipping
9232915885
docs/usage.rst: Break up a long line
2023-06-08 16:28:34 +02:00
Sebastian Pipping
cbb540029f
docs/usage.rst: Adapt documentation to new code location
2023-06-08 16:28:34 +02:00
Sebastian Pipping
bf30d9a5e5
vcr/unittest: Fix test test_get_vcr_with_matcher
...
Matcher needs attribute __name__ for function vcr.matchers.get_matchers_results .
2023-06-08 16:28:34 +02:00
Sebastian Pipping
f06f71ece4
vcr/unittest: Stop disguising MagicMock as Mock
2023-06-08 16:28:34 +02:00
Sebastian Pipping
1070d417b3
vcr/unittest: Apply 2to3
2023-06-08 16:28:34 +02:00
Sebastian Pipping
46726a9a61
vcr/unittest: Fix import of VCRTestCase in tests
2023-06-08 16:28:34 +02:00
Sebastian Pipping
87db8e69ff
vcr/unittest: Use unitest.mock rather than mock of PyPI
2023-06-08 16:28:34 +02:00
Sebastian Pipping
52701ebca4
vcr/unittest: Make import to vcrpy relative
2023-06-08 16:28:34 +02:00
Sebastian Pipping
69679dc3fc
vcr/unittest: Drop forward imports
...
.. to resolve import ambiguity.
2023-06-08 16:28:34 +02:00
Sebastian Pipping
c13f33b1e0
Add unmodified vcrpy-unittest code
...
Source commit is a2fd7625fde1ea15c8982759b07007aef40424b3.
License is MIT just like vcrpy.
2023-06-08 16:28:34 +02:00
Matt Ghantous
5476dd010c
Casting to BufferedReader no longer needed in test
2023-06-05 23:47:47 -04:00
Matt Ghantous
0add77d5ae
Add read1 method to VCRHTTPResponse
2023-06-05 23:20:52 -04:00
Yaroslav Halchenko
96a6e91def
Codespell: action + config ( #704 )
2023-06-05 16:56:55 +02:00
Abram Clark
3b41f0ede3
Fix for #174 to prevent filters from corrupting request
2023-05-27 09:40:53 -03:00
Kevin McCarthy
0e06836908
bump version to v4.3.1
v4.3.1
2023-05-26 11:02:14 -05:00
Sebastian Pipping
69db5c936f
Limit support for urllib3 >=2 to Python >=3.10 for now
...
.. because it turned out broken for Python <3.10.
2023-05-26 10:55:44 -05:00
Sebastian Pipping
7c402ae4b0
test_vcr.py: Clarify that test_vcr_before_record_request_params is an offline test
2023-05-26 10:55:44 -05:00
Sebastian Pipping
b5c0938d2e
tox.ini: Cover both urllib3 v1 and v2
2023-05-26 10:55:44 -05:00
Sebastian Pipping
3ad93fff42
tox.ini: Drop needless "boto3: urllib3"
...
boto3 depends on botocore which in turn depends on urllib3.
2023-05-26 10:55:44 -05:00
Sebastian Pipping
89f2005250
Fix VCRHTTPResponse for requests.cookies.extract_cookies_to_jar
2023-05-26 10:55:44 -05:00
Sebastian Pipping
88c0039089
Make test "test_cookies" more mean and helpful
2023-05-26 10:55:44 -05:00
Sebastian Pipping
1b3a1235f2
Make VCRHTTPResponse interface satisfy urllib3.response.HTTPResponse
2023-05-26 10:55:44 -05:00
Sebastian Pipping
fd1aaab3bf
Respect urllib3.response.HTTPResponse.data
2023-05-26 10:55:44 -05:00
Sebastian Pipping
00da5ac5af
Make test_headers robust with regard to order of headers
2023-05-26 10:55:44 -05:00
Sebastian Pipping
ac20cd1dd3
Tolerate urllib3.response.HTTPResponse.msg being None
2023-05-26 10:55:44 -05:00
Sonny V
64d6811eda
build(tox.ini): revert pinning urllib to <2
...
In #690 a quick fix was introduced to get a green ci, this change should no longer be required.
2023-05-26 10:55:44 -05:00
Sonny V
51c99bb9df
fix: use urllib3.connection where needed.
...
Since urllib3 v2 the re-export of connection.HTTPConnection in
urllib3.connectionpool was removed.
In this commit we use urllib3.connection where needed. Some references
to connectionpool.HTTPConnection are still there for backward
compatibility.
Closes #688
2023-05-26 10:55:44 -05:00
Sebastian Pipping
43484e7cff
test_aiohttp.py: Make cookie tests use pytest-httpbin ( #706 )
...
.. to make them faster and more robust.
2023-05-26 01:16:20 +02:00
Sebastian Pipping
199f9f07f8
Merge pull request #705 from kevin1024/fix-test-dependencies
...
Fix test dependencies
2023-05-25 20:29:37 +02:00
Sebastian Pipping
13af8cae43
setup.py: Add missing test dependencies
2023-05-25 16:40:42 +02:00
Sebastian Pipping
436b62f587
setup.py: Drop unused test dependency "mock"
...
All imports use unittest.mock rather than mock of PyPI.
2023-05-25 16:33:14 +02:00
Sebastian Pipping
5b40a67b3b
setup.py: Extract variable tests_require
...
.. and apply sorting, but nothing more
2023-05-25 16:32:08 +02:00
Sebastian Pipping
c41bd2bb40
Stop installing libgnutls28-dev
2023-05-24 16:41:46 -03:00
Kevin McCarthy
62cb151918
Release v4.3.0
v4.3.0
2023-05-24 13:48:31 -05:00
Sebastian Pipping
1a3bc67c7c
Merge pull request #701 from kevin1024/run-actions-on-push-to-topic-branches
...
Allow triggering CI manually
2023-05-17 18:01:28 +02:00
Sebastian Pipping
aeff51bd79
main.yml: Allow triggering CI manually
2023-05-17 16:45:13 +02:00
Sebastian Pipping
e9f0ede9dd
main.yml: Drop superflous specification of branches
2023-05-17 16:44:54 +02:00
Sebastian Pipping
0235eab766
Merge pull request #698 from kevin1024/reduce-legacy
...
Drop support for botocore <1.11.0 and requests <2.16.2 (fixes #693 )
2023-05-15 15:55:15 +02:00
Sebastian Pipping
31c8dc0a1e
Drop support for requests <2.16.2
2023-05-15 14:06:26 +02:00
Sebastian Pipping
24af48d468
Drop support for botocore <1.11.0
2023-05-15 14:06:26 +02:00