Tests: added "--restart" option.
Now Unit do not restart after each test by default.
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user