Commit 58c069db authored by Adrien Dorsaz's avatar Adrien Dorsaz
Browse files

staging tests: update assert on log messages

parent 335c7d74
Pipeline #259 failed with stages
in 2 minutes and 41 seconds
......@@ -50,7 +50,7 @@ class TestACMEAccountDeactivate(unittest.TestCase):
with self.assertLogs(level='INFO') as accountdeactivatelog:
tools.acme_account_deactivate.main(["--account-key", self.configs['key'],
"--acme-directory", ACME_DIRECTORY])
self.assertIn("INFO:acme_account_deactivate:Account key deactivated !",
self.assertIn("INFO:acme_account_deactivate:The account has been deactivated.",
if __name__ == "__main__":
......@@ -53,7 +53,7 @@ class TestACMEAccountRollover(unittest.TestCase):
tools.acme_account_rollover.main(["--current", self.configs['old_account_key'],
"--new", self.configs['new_account_key'],
"--acme-directory", ACME_DIRECTORY])
self.assertIn("INFO:acme_account_rollover:Account keys rolled over !",
self.assertIn("INFO:acme_account_rollover:Keys rolled over.",
if __name__ == "__main__":
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment