Skip to content

Commit

Permalink
Fix mypy error
Browse files Browse the repository at this point in the history
Fixes the following mypy error:

    Argument "request" to "HTTPError" has incompatible type "None"; expected "Request"  [arg-type]
  • Loading branch information
hluk committed Sep 25, 2023
1 parent ce1af7f commit a250a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion greenwave/tests/test_listeners.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def retrieve_decision(data, _config):
},
),
(
HTTPError(),
HTTPError(), # type: ignore
{"policies_satisfied": True},
),
),
Expand Down

0 comments on commit a250a35

Please sign in to comment.