diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-04-09 16:14:42 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-04-09 16:14:42 +0300 |
commit | af24e4dec453af7e3dcb45347cb59bfcbc037843 (patch) | |
tree | 91c79759ac13e3b43f9856f1394217eef2feca81 /test/test_tls.py | |
parent | 7b839bf5da772d4bf61a3be95fbdbb6d4591ba63 (diff) | |
download | unit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.gz unit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.bz2 |
Tests: simplified module checking.
Diffstat (limited to 'test/test_tls.py')
-rw-r--r-- | test/test_tls.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_tls.py b/test/test_tls.py index 954387d7..f9b0a978 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -4,12 +4,10 @@ import time import subprocess import unittest from unit.applications.tls import TestApplicationTLS -from unit.main import TestUnit class TestTLS(TestApplicationTLS): - def setUpClass(): - TestUnit().check_modules('python', 'openssl') + prerequisites = ['python', 'openssl'] def findall(self, pattern): with open(self.testdir + '/unit.log', 'r', errors='ignore') as f: |