summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-07-28 14:12:19 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2022-07-28 14:12:19 +0100
commit69e690affe94eb37308d1eb551b34cd32323aae1 (patch)
tree634020ed3f54c65c0b02318bf8f606673fe75e7e /test/test_tls.py
parent3f8cf62c03a55b9767f0c75b3df6a1a40252b19a (diff)
downloadunit-69e690affe94eb37308d1eb551b34cd32323aae1.tar.gz
unit-69e690affe94eb37308d1eb551b34cd32323aae1.tar.bz2
Tests: added flags to search functions in proto.py.
Also removed unnesessary re.compile() calls.
Diffstat (limited to 'test/test_tls.py')
-rw-r--r--test/test_tls.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/test_tls.py b/test/test_tls.py
index 85f9d3b1..5d4cead3 100644
--- a/test/test_tls.py
+++ b/test/test_tls.py
@@ -1,5 +1,4 @@
import io
-import re
import ssl
import subprocess
import time
@@ -620,9 +619,7 @@ basicConstraints = critical,CA:TRUE"""
skip_alert(r'process .* %s.* exited on signal 9' % app_id)
self.wait_for_record(
- re.compile(
- r' (?!' + app_id + r'#)(\d+)#\d+ "mirror" application started'
- )
+ r' (?!' + app_id + r'#)(\d+)#\d+ "mirror" application started'
)
resp = self.post_ssl(