1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Fix build problems on requests tests due to SSL certificate problems

This commit is contained in:
Luiz Menezes
2019-06-10 16:57:24 -03:00
parent 0b4d92c277
commit fb84928ef6
3 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
Changelog
---------
- 2.0.2 (UNRELEASED) - Drop support to python 3.4
Fix build problems on requests tests (thanks to @dunossauro)
- 2.0.1 - Fix bug when using vcrpy with python 3.4
- 2.0.0 - Support python 3.7 (fix httplib2 and urllib2, thanks @felixonmars)
[#356] Fixes `before_record_response` so the original response isn't changed (thanks @kgraves)

View File

@@ -59,7 +59,7 @@ def test_flickr_multipart_upload(httpbin, tmpdir):
def test_flickr_should_respond_with_200(tmpdir):
testfile = str(tmpdir.join('flickr.yml'))
with vcr.use_cassette(testfile):
r = requests.post("http://api.flickr.com/services/upload")
r = requests.post("https://api.flickr.com/services/upload", verify=False)
assert r.status_code == 200

View File

@@ -1,5 +1,5 @@
[tox]
envlist = {py27,py35,py36,py37,pypy}-{flakes,requests27,httplib2,urllib3121,tornado4,boto3,aiohttp}
envlist = {py27,py35,py36,py37,pypy}-{flakes,requests,httplib2,urllib3121,tornado4,boto3,aiohttp}
[testenv:flakes]
skipsdist = True
@@ -18,7 +18,7 @@ deps =
pytest
pytest-httpbin
PyYAML
requests27: requests==2.7.0
requests: requests>=2.22.0
httplib2: httplib2
urllib3121: urllib3==1.21.1
{py27,py35,py36,pypy}-tornado4: tornado>=4,<5