summaryrefslogtreecommitdiff
path: root/pyuno/qa/pytests/testssl.py
blob: d29066ffe39ef61d41014d1209b7a87238684ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()