File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
adapter_tests/socket_mode Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,11 @@ def command_handler(ack):
5757 )
5858 try :
5959 handler .client .wss_uri = "ws://localhost:3012/link"
60+ handler .client .default_auto_reconnect_enabled = False
6061
6162 handler .connect ()
62- assert handler .client .is_connected () is True
6363 time .sleep (2 ) # wait for the message receiver
64+ assert handler .client .is_connected () is True
6465
6566 handler .client .send_message ("foo" )
6667
Original file line number Diff line number Diff line change 11import os
22import asyncio
33
4+
45def remove_os_env_temporarily () -> dict :
56 old_env = os .environ .copy ()
67 os .environ .clear ()
@@ -28,6 +29,7 @@ def get_mock_server_mode() -> str:
2829 else :
2930 return mode
3031
32+
3133def get_event_loop ():
3234 try :
3335 return asyncio .get_event_loop ()
You can’t perform that action at this time.
0 commit comments