From 54969d79f6e34deec5da67f20f13fb5a21fdf8a4 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Wed, 17 Nov 2021 22:36:55 +0100 Subject: [PATCH] Fix mypy type --- certbot/certbot/tests/acme_util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/certbot/certbot/tests/acme_util.py b/certbot/certbot/tests/acme_util.py index 49ca88bf5..94b503647 100644 --- a/certbot/certbot/tests/acme_util.py +++ b/certbot/certbot/tests/acme_util.py @@ -1,5 +1,7 @@ """ACME utilities for testing.""" import datetime +from typing import Any +from typing import Dict import josepy as jose @@ -70,7 +72,7 @@ def gen_authzr(authz_status, domain, challs, statuses, combos=True): chall_to_challb(chall, status) for chall, status in zip(challs, statuses) ) - authz_kwargs = { + authz_kwargs: Dict[str, Any] = { "identifier": messages.Identifier( typ=messages.IDENTIFIER_FQDN, value=domain), "challenges": challbs,