test for _ssl
I'm still suspicious Change-Id: I56bfbe1ea2f92ffba6264b7543fa5df7f29f2bd0
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
$(eval $(call gb_PythonTest_PythonTest,pyuno_pytests_ssl))
|
$(eval $(call gb_PythonTest_PythonTest,pyuno_pytests_ssl))
|
||||||
|
|
||||||
$(eval $(call gb_PythonTest_add_modules,pyuno_pytests_ssl,$(SRCDIR)/pyuno/qa/pytests,\
|
$(eval $(call gb_PythonTest_add_modules,pyuno_pytests_ssl,$(SRCDIR)/pyuno/qa/pytests,\
|
||||||
ssl \
|
testssl \
|
||||||
))
|
))
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
@@ -3,7 +3,7 @@ import unittest
|
|||||||
#I want to ensure that import ssl works on all platforms
|
#I want to ensure that import ssl works on all platforms
|
||||||
class SSLTest(unittest.TestCase):
|
class SSLTest(unittest.TestCase):
|
||||||
def test_ssl_import(self):
|
def test_ssl_import(self):
|
||||||
import ssl
|
import _ssl
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
Reference in New Issue
Block a user