From a250a350a05514e1354fb8e77f048a07fb22b3e6 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Mon, 25 Sep 2023 10:27:18 +0200 Subject: [PATCH] Fix mypy error Fixes the following mypy error: Argument "request" to "HTTPError" has incompatible type "None"; expected "Request" [arg-type] --- greenwave/tests/test_listeners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greenwave/tests/test_listeners.py b/greenwave/tests/test_listeners.py index 8daa262c..ea38d24a 100644 --- a/greenwave/tests/test_listeners.py +++ b/greenwave/tests/test_listeners.py @@ -400,7 +400,7 @@ def retrieve_decision(data, _config): }, ), ( - HTTPError(), + HTTPError(), # type: ignore {"policies_satisfied": True}, ), ),