test for _ssl

I'm still suspicious

Change-Id: I56bfbe1ea2f92ffba6264b7543fa5df7f29f2bd0
This commit is contained in:
Caolán McNamara
2014-04-23 11:43:19 +01:00
parent 4996fad625
commit 6e24cf09c5
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
$(eval $(call gb_PythonTest_PythonTest,pyuno_pytests_ssl))
$(eval $(call gb_PythonTest_add_modules,pyuno_pytests_ssl,$(SRCDIR)/pyuno/qa/pytests,\
ssl \
testssl \
))
# vim: set noet sw=4 ts=4:

View File

@@ -3,7 +3,7 @@ import unittest
#I want to ensure that import ssl works on all platforms
class SSLTest(unittest.TestCase):
def test_ssl_import(self):
import ssl
import _ssl
if __name__ == '__main__':
unittest.main()