diff --git a/tests/slack_sdk/web/mock_web_api_handler.py b/tests/slack_sdk/web/mock_web_api_handler.py index 0916e764..12a487e0 100644 --- a/tests/slack_sdk/web/mock_web_api_handler.py +++ b/tests/slack_sdk/web/mock_web_api_handler.py @@ -76,6 +76,7 @@ def _handle(self): try: # put_nowait is common between Queue & asyncio.Queue, it does not need to be awaited self.server.queue.put_nowait(self.path) + if self.path in {"/oauth.access", "/oauth.v2.access"}: self.send_response(200) self.set_common_headers()