Tests: added "--restart" option.

Now Unit do not restart after each test by default.
This commit is contained in:
Andrei Zeliankou
2021-02-08 23:32:27 +00:00
parent 958bc90caa
commit 4404097e05
5 changed files with 103 additions and 22 deletions

View File

@@ -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'])