8b6e0dd9e4
Change-Id: Iaa329dff61db894e7d5fecd840e785a53a48b26f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160889 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
15 lines
355 B
Python
15 lines
355 B
Python
import os
|
|
import unittest
|
|
|
|
|
|
# I want to ensure that import ssl works on all platforms
|
|
class SSLTest(unittest.TestCase):
|
|
def test_ssl_import(self):
|
|
import ssl
|
|
|
|
# use imported ssl module for pyflakes
|
|
with open(os.devnull, "w") as devnull:
|
|
print(str(ssl), file=devnull)
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|