summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-02-08 23:32:27 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-02-08 23:32:27 +0000
commit4404097e05dc71b7ee78ef49c8ba4d0eaf234f85 (patch)
tree87722f61b6d725c0c4182c263419bba3704d4344 /test/test_tls.py
parent958bc90caafeaa4cd6b4d6894d0a67284ba13900 (diff)
downloadunit-4404097e05dc71b7ee78ef49c8ba4d0eaf234f85.tar.gz
unit-4404097e05dc71b7ee78ef49c8ba4d0eaf234f85.tar.bz2
Tests: added "--restart" option.
Now Unit do not restart after each test by default.
Diffstat (limited to '')
-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'])