File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 22
22
23
23
import re
24
24
import logging
25
+ import os
26
+
27
+
28
+ no_verify = os .environ .get ("PYWB_NO_VERIFY_SSL" )
25
29
26
30
27
31
#=============================================================================
@@ -46,6 +50,8 @@ def _init_sesh(self, adapter=None):
46
50
self .sesh = requests .Session ()
47
51
self .sesh .mount ('http://' , adapter )
48
52
self .sesh .mount ('https://' , adapter )
53
+ if no_verify :
54
+ self .sesh .verify = False
49
55
50
56
51
57
#=============================================================================
Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ python =
12
12
3.7: py37
13
13
3.8: py38
14
14
3.9: py39
15
- 3.10: py39
15
+ 3.10: py310
16
16
17
17
[testenv]
18
+ setenv = PYWB_NO_VERIFY_SSL = 1
18
19
deps =
19
20
-rtest_requirements.txt
20
21
-rrequirements.txt
You can’t perform that action at this time.
0 commit comments