mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Merge pull request #832 from cjmayo/InsecureRequestWarning
Resolve InsecureRequestWarning for test_https
This commit is contained in:
commit
7cf5037ecc
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class TestHttps(HttpsServerTest):
|
|||
"real url %s" % url,
|
||||
"valid",
|
||||
]
|
||||
confargs = dict(sslverify=False)
|
||||
confargs = dict(sslverify=get_file("https_cert.pem"))
|
||||
with patch.dict("os.environ",
|
||||
{"REQUESTS_CA_BUNDLE": get_file("https_cert.pem")}):
|
||||
self.direct(url, resultlines, recursionlevel=0, confargs=confargs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue