fix log_test.py

This commit is contained in:
Brad Warren 2021-02-08 12:47:20 -08:00
parent 9c4c2a7aa7
commit f5c958e710

View file

@ -327,7 +327,7 @@ class PostArgParseExceptHookTest(unittest.TestCase):
def test_acme_error(self):
# Get an arbitrary error code
acme_code = next(messages.ERROR_CODES.keys())
acme_code = next(iter(messages.ERROR_CODES))
def get_acme_error(msg):
"""Wraps ACME errors so the constructor takes only a msg."""