Commit c1bf0c00 authored by Adrien Dorsaz's avatar Adrien Dorsaz

v2: account key rollover test update it's dependance on account deactivate (not working currently)

parent 863c5f4a
import unittest, os
import acme_dns_tiny
from tests.config_factory import generate_acme_account_rollover_config
from tools.acme_account_delete import account_delete
from tools.acme_account_deactivate import account_deactivate
import tools.acme_account_rollover
ACMEDirectory = os.getenv("GITLABCI_ACMEDIRECTORY", "")
......@@ -17,8 +17,8 @@ class TestACMEAccountRollover(unittest.TestCase):
# To clean ACME staging server and close correctly temporary files
def tearDownClass(self):
# delete account key registration at end of tests
account_delete(self.configs["newaccountkey"].name, ACMEDirectory)
# deactivate account key registration at end of tests
account_deactivate(self.configs["newaccountkey"].name, ACMEDirectory)
# close temp files correctly
for tmpfile in self.configs:
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