From f73fc4670f525f9037517c835cb2bf120c125384 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 23 Feb 2014 12:52:37 +0530 Subject: [PATCH] Add test for ssl module being importable --- src/calibre/test_build.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index 7acc36f8a0..5baa9d059f 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -107,6 +107,11 @@ def test_unrar(): test_basic() print ('Unrar OK!') +def test_ssl(): + import ssl + ssl + print ('SSL OK!') + def test_icu(): from calibre.utils.icu import _icu_not_ok if _icu_not_ok: @@ -138,6 +143,7 @@ def test_magick(): def test(): test_plugins() test_lxml() + test_ssl() test_sqlite() test_imaging() test_unrar()