Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/miguelgrinberg/python-socketio
/ fake_event_wait
Method
fake_event_wait
tests/async/test_client.py:479–480 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
477
c.namespaces = {
'/'
:
'1'
}
478
479
async
def
fake_event_wait():
480
c._generate_ack_id.call_args_list[0][0][1](
'foo'
, 321)
481
482
c._send_packet = mock.AsyncMock()
483
c._generate_ack_id = mock.MagicMock(return_value=123)
Callers
nothing calls this directly
Calls
1
sleep
Method · 0.45
Tested by
no test coverage detected