Commit a21921f0 authored by Adrien Dorsaz's avatar Adrien Dorsaz

test account deactivate: don't fail if a non-regesitering error occured

parent 61790d2c
Pipeline #174 passed with stage
in 9 minutes and 19 seconds
......@@ -11,7 +11,12 @@ class TestACMEAccountDeactivate(unittest.TestCase):
def setUpClass(self):
self.configs = generate_acme_account_deactivate_config()
except ValueError as err:
if str(err).startswith("Error register"):
raise ValueError("Fail test as account has not been registered correctly: {0}".format(err))
super(TestACMEAccountDeactivate, self).setUpClass()
# To clean ACME staging server and close correctly temporary files
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