Tests: refactored prerequisites model.

This commit is contained in:
Andrey Zelenkov
2019-09-14 14:44:35 +03:00
parent 962cdb6659
commit 65ca2d7b19
24 changed files with 146 additions and 113 deletions

View File

@@ -6,7 +6,7 @@ from unit.applications.tls import TestApplicationTLS
class TestTLS(TestApplicationTLS):
prerequisites = ['python', 'openssl']
prerequisites = {'modules': ['python', 'openssl']}
def findall(self, pattern):
with open(self.testdir + '/unit.log', 'r', errors='ignore') as f: