MCPcopy Create free account
hub / github.com/miguelgrinberg/python-socketio / test_enter_room

Method test_enter_room

tests/common/test_server.py:221–225  ·  view source on GitHub ↗
(self, eio)

Source from the content-addressed store, hash-verified

219 s.call('foo', sid='123', timeout=12)
220
221 def test_enter_room(self, eio):
222 mgr = mock.MagicMock()
223 s = server.Server(client_manager=mgr)
224 s.enter_room('123', 'room', namespace='/foo')
225 s.manager.enter_room.assert_called_once_with('123', '/foo', 'room')
226
227 def test_enter_room_default_namespace(self, eio):
228 mgr = mock.MagicMock()

Callers

nothing calls this directly

Calls 1

enter_roomMethod · 0.95

Tested by

no test coverage detected