summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls_sni.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-06-30 14:40:17 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2022-06-30 14:40:17 +0100
commita3699557a3e4605788bb02a34de8a7979ec96629 (patch)
tree19d220ed9b14b4d1afbe83962b2f9a34141ca2bc /test/test_tls_sni.py
parent63667e2f9c571ad4357a30e42b321bec6a97ee89 (diff)
downloadunit-a3699557a3e4605788bb02a34de8a7979ec96629.tar.gz
unit-a3699557a3e4605788bb02a34de8a7979ec96629.tar.bz2
Tests: minor improvements.
Added "go" availability check before trying to build an application. update_action() method used were possible and fixed bug with the relative path determination in test_static_chroot.py. Templates optimization and style fixes.
Diffstat (limited to 'test/test_tls_sni.py')
-rw-r--r--test/test_tls_sni.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tls_sni.py b/test/test_tls_sni.py
index dbd5d900..44cc21e1 100644
--- a/test/test_tls_sni.py
+++ b/test/test_tls_sni.py
@@ -18,7 +18,7 @@ class TestTLSSNI(TestApplicationTLS):
)
def openssl_date_to_sec_epoch(self, date):
- return self.date_to_sec_epoch(date, '%b %d %H:%M:%S %Y %Z')
+ return self.date_to_sec_epoch(date, '%b %d %X %Y %Z')
def add_tls(self, cert='default'):
assert 'success' in self.conf(