Tests: introduced module version specification in prerequisites.

This commit is contained in:
Andrei Zeliankou
2020-04-24 05:08:56 +01:00
parent af9392af1f
commit 6a9a4fe0d4
25 changed files with 38 additions and 26 deletions

View File

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