From 7d13c3b6307202a00473337219ee7729d644c622 Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Wed, 5 Jun 2024 16:06:06 +0900 Subject: [PATCH] Omit not-working tests --- .../socket_mode/test_aiohttp.py | 28 +++++++++---------- .../socket_mode/test_interactions_aiohttp.py | 1 - 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/tests/slack_sdk_async/socket_mode/test_aiohttp.py b/tests/slack_sdk_async/socket_mode/test_aiohttp.py index 1d2a7967..1ede5da2 100644 --- a/tests/slack_sdk_async/socket_mode/test_aiohttp.py +++ b/tests/slack_sdk_async/socket_mode/test_aiohttp.py @@ -46,20 +46,20 @@ async def test_issue_new_wss_url(self): finally: await client.close() - @async_test - async def test_connect_to_new_endpoint(self): - client = SocketModeClient( - app_token="xapp-A111-222-xyz", - web_client=self.web_client, - auto_reconnect_enabled=False, - ) - try: - await client.connect_to_new_endpoint() - except Exception as e: - # TODO: valida test to connect - pass - finally: - await client.close() + # TODO: valid test to connect + # @async_test + # async def test_connect_to_new_endpoint(self): + # client = SocketModeClient( + # app_token="xapp-A111-222-xyz", + # web_client=self.web_client, + # auto_reconnect_enabled=False, + # ) + # try: + # await client.connect_to_new_endpoint() + # except Exception as e: + # pass + # finally: + # await client.close() @async_test async def test_enqueue_message(self): diff --git a/tests/slack_sdk_async/socket_mode/test_interactions_aiohttp.py b/tests/slack_sdk_async/socket_mode/test_interactions_aiohttp.py index 4af9d147..57ea6ca4 100644 --- a/tests/slack_sdk_async/socket_mode/test_interactions_aiohttp.py +++ b/tests/slack_sdk_async/socket_mode/test_interactions_aiohttp.py @@ -19,7 +19,6 @@ start_socket_mode_server_with_disconnection, socket_mode_envelopes, socket_mode_hello_message, - socket_mode_disconnect_message, ) from tests.slack_sdk.socket_mode.mock_web_api_server import ( setup_mock_web_api_server,