diff --git a/swh/icinga_plugins/tests/web_scenario.py b/swh/icinga_plugins/tests/web_scenario.py --- a/swh/icinga_plugins/tests/web_scenario.py +++ b/swh/icinga_plugins/tests/web_scenario.py @@ -68,7 +68,9 @@ """ for endpoint in self._endpoints: mocker.register_uri( - endpoint.method.upper(), endpoint.url, text=self._request_callback + endpoint.method.upper(), + endpoint.url, # type: ignore # https://github.com/jamielennox/requests-mock/pull/173 # noqa + text=self._request_callback, # type: ignore # stubs are too strict ) def _request_callback(self, request, context):