Commit ed51983f authored by Adrien Dorsaz's avatar Adrien Dorsaz

fix test for acme_account_rollover: after test is done, the key has been rollovered

parent 544cb408
...@@ -19,7 +19,8 @@ class TestACMEAccountRollover(unittest.TestCase): ...@@ -19,7 +19,8 @@ class TestACMEAccountRollover(unittest.TestCase):
@classmethod @classmethod
def tearDownClass(self): def tearDownClass(self):
# deactivate account key registration at end of tests # deactivate account key registration at end of tests
account_deactivate(self.configs["oldaccountkey"], ACMEDirectory) # (we assume the key has been roll oved)
account_deactivate(self.configs["newaccountkey"], ACMEDirectory)
# close temp files correctly # close temp files correctly
for tmpfile in self.configs: for tmpfile in self.configs:
os.remove(self.configs[tmpfile]) os.remove(self.configs[tmpfile])
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