Add test for ssl module being importable

This commit is contained in:
Kovid Goyal 2014-02-23 12:52:37 +05:30
parent 7698a06ad5
commit f73fc4670f

View File

@ -107,6 +107,11 @@ def test_unrar():
test_basic() test_basic()
print ('Unrar OK!') print ('Unrar OK!')
def test_ssl():
import ssl
ssl
print ('SSL OK!')
def test_icu(): def test_icu():
from calibre.utils.icu import _icu_not_ok from calibre.utils.icu import _icu_not_ok
if _icu_not_ok: if _icu_not_ok:
@ -138,6 +143,7 @@ def test_magick():
def test(): def test():
test_plugins() test_plugins()
test_lxml() test_lxml()
test_ssl()
test_sqlite() test_sqlite()
test_imaging() test_imaging()
test_unrar() test_unrar()