diff options
Diffstat (limited to 'test/test_tls.py')
-rw-r--r-- | test/test_tls.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test_tls.py b/test/test_tls.py index 8b112f4e..954387d7 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -3,12 +3,13 @@ import ssl import time import subprocess import unittest -import unit +from unit.applications.tls import TestApplicationTLS +from unit.main import TestUnit -class TestUnitTLS(unit.TestUnitApplicationTLS): +class TestTLS(TestApplicationTLS): def setUpClass(): - unit.TestUnit().check_modules('python', 'openssl') + TestUnit().check_modules('python', 'openssl') def findall(self, pattern): with open(self.testdir + '/unit.log', 'r', errors='ignore') as f: @@ -585,4 +586,4 @@ basicConstraints = critical,CA:TRUE""" ) if __name__ == '__main__': - TestUnitTLS.main() + TestTLS.main() |