summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-10-07 23:18:43 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2020-10-07 23:18:43 +0100
commit6ec0ff35964c7805712d978625949f72ff5a63bc (patch)
treef64a1901993fbc7e6a75ca6335fbbd291c8cce56 /test/test_tls.py
parent645683f432d742f42f2769f589fe769585fb7aa0 (diff)
downloadunit-6ec0ff35964c7805712d978625949f72ff5a63bc.tar.gz
unit-6ec0ff35964c7805712d978625949f72ff5a63bc.tar.bz2
Tests: minor fixes.
Diffstat (limited to 'test/test_tls.py')
-rw-r--r--test/test_tls.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_tls.py b/test/test_tls.py
index 9881e973..518a834c 100644
--- a/test/test_tls.py
+++ b/test/test_tls.py
@@ -1,11 +1,12 @@
import io
-import pytest
import re
import ssl
import subprocess
-from unit.applications.tls import TestApplicationTLS
+import pytest
+
from conftest import skip_alert
+from unit.applications.tls import TestApplicationTLS
class TestTLS(TestApplicationTLS):
@@ -527,7 +528,7 @@ basicConstraints = critical,CA:TRUE"""
self.wait_for_record(
re.compile(
- ' (?!' + app_id + '#)(\d+)#\d+ "mirror" application started'
+ r' (?!' + app_id + r'#)(\d+)#\d+ "mirror" application started'
)
)