Add a test for --no-check-certificate

This commit is contained in:
Philipp Hagemeister 2015-01-30 02:57:37 +01:00
parent 4fe8495a23
commit 83fda3c000
3 changed files with 129 additions and 0 deletions

View file

@ -71,6 +71,11 @@ try:
except ImportError:
compat_subprocess_get_DEVNULL = lambda: open(os.path.devnull, 'w')
try:
import http.server as compat_http_server
except ImportError:
import BaseHTTPServer as compat_http_server
try:
from urllib.parse import unquote as compat_urllib_parse_unquote
except ImportError:
@ -365,6 +370,7 @@ __all__ = [
'compat_html_entities',
'compat_html_parser',
'compat_http_client',
'compat_http_server',
'compat_kwargs',
'compat_ord',
'compat_parse_qs',