Skip to content

Commit

Permalink
Omit not-working tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Jun 5, 2024
1 parent 089afec commit 7d13c3b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
28 changes: 14 additions & 14 deletions tests/slack_sdk_async/socket_mode/test_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7d13c3b

Please sign in to comment.