diff options
Diffstat (limited to 'tests/test_bio_ssl.py')
-rw-r--r-- | tests/test_bio_ssl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_bio_ssl.py b/tests/test_bio_ssl.py index 1f9ae89..9b2b45e 100644 --- a/tests/test_bio_ssl.py +++ b/tests/test_bio_ssl.py @@ -15,7 +15,7 @@ from M2Crypto import Err from M2Crypto import Rand from M2Crypto import threading as m2threading -from tests import unittest +from . import unittest from tests.test_ssl import srv_host, allocate_srv_port @@ -150,7 +150,7 @@ class SSLTestCase(unittest.TestCase): def suite(): - return unittest.makeSuite(SSLTestCase) + return unittest.TestLoader().loadTestsFromTestCase(SSLTestCase) if __name__ == '__main__': |