From 6a9a4fe0d46263d4d158803d4a82851e240e0e63 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Fri, 24 Apr 2020 05:08:56 +0100 Subject: Tests: introduced module version specification in prerequisites. --- test/test_tls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_tls.py') diff --git a/test/test_tls.py b/test/test_tls.py index d9dcf237..c482bf5a 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -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: -- cgit From ce4a2bbd05f42d258f9bf7880060a604ac1a866e Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Fri, 15 May 2020 04:20:56 +0100 Subject: Tests: style. --- test/test_tls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_tls.py') diff --git a/test/test_tls.py b/test/test_tls.py index c482bf5a..a0434174 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -1,9 +1,9 @@ import io -import os import re import ssl import subprocess import unittest + from unit.applications.tls import TestApplicationTLS -- cgit