Commit 1b5a6650 authored by Adrien Dorsaz's avatar Adrien Dorsaz

tests: fix test_acme_account_rollover

parent 781e507b
Pipeline #116 passed with stage
in 2 minutes and 12 seconds
......@@ -29,7 +29,7 @@ class TestACMEAccountDelete(unittest.TestCase):
def test_success_account_delete(self):
""" Test success account key delete """
"--acme-directory", ACMEDirectory])
"--acme-directory", ACMEDirectory])
self.assertLoggedInfo("Account key deleted !")
if __name__ == "__main__":
......@@ -3,7 +3,7 @@ from subprocess import Popen, PIPE
from io import StringIO
import acme_dns_tiny
from tests.config_factory import generate_acme_account_rollover_config
from tools.acme_account_delete import delete_account
from tools.acme_account_delete import account_delete
import tools.acme_account_rollover
import logassert
......@@ -21,7 +21,7 @@ class TestACMEAccountRollover(unittest.TestCase):
def tearDownClass(self):
# delete account key registration at end of tests
delete_account(self.configs["newaccountkey"].name, ACMEDirectory)
account_delete(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