diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2022-06-30 14:40:17 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2022-06-30 14:40:17 +0100 |
commit | a3699557a3e4605788bb02a34de8a7979ec96629 (patch) | |
tree | 19d220ed9b14b4d1afbe83962b2f9a34141ca2bc /test/test_tls.py | |
parent | 63667e2f9c571ad4357a30e42b321bec6a97ee89 (diff) | |
download | unit-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.py')
-rw-r--r-- | test/test_tls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tls.py b/test/test_tls.py index 56ee8298..85f9d3b1 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -13,7 +13,7 @@ class TestTLS(TestApplicationTLS): prerequisites = {'modules': {'python': 'any', 'openssl': 'any'}} 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, application='empty', cert='default', port=7080): assert 'success' in self.conf( |