summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-03-25 17:32:53 +0300
committerAndrei Belov <defan@nginx.com>2021-03-25 17:32:53 +0300
commit83d2ce0ae884f73a111f9b1807d5393a150bf116 (patch)
tree2c483a9eae55233df4e308c5232734e03622cee0 /test/test_tls.py
parentd2579d52b9583e5add0a71c6c7fb9f1b0c948a59 (diff)
parent3c969905bd6db6446b5213acb616e8c04ff546f4 (diff)
downloadunit-83d2ce0ae884f73a111f9b1807d5393a150bf116.tar.gz
unit-83d2ce0ae884f73a111f9b1807d5393a150bf116.tar.bz2
Merged with the default branch.1.23.0-1
Diffstat (limited to 'test/test_tls.py')
-rw-r--r--test/test_tls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tls.py b/test/test_tls.py
index 89c57d07..206ea828 100644
--- a/test/test_tls.py
+++ b/test/test_tls.py
@@ -199,7 +199,7 @@ class TestTLS(TestApplicationTLS):
self.sec_epoch()
- self.openssl_date_to_sec_epoch(cert['validity']['since'])
)
- < 5
+ < 60
), 'certificate validity since'
assert (
self.openssl_date_to_sec_epoch(cert['validity']['until'])