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

Method test_rooms

tests/async/test_server.py:255–259  ·  view source on GitHub ↗
(self, eio)

Source from the content-addressed store, hash-verified

253 s.manager.close_room.assert_awaited_once_with('room', '/')
254
255 async def test_rooms(self, eio):
256 mgr = self._get_mock_manager()
257 s = async_server.AsyncServer(client_manager=mgr)
258 s.rooms('123', namespace='/foo')
259 s.manager.get_rooms.assert_called_once_with('123', '/foo')
260
261 async def test_rooms_default_namespace(self, eio):
262 mgr = self._get_mock_manager()

Callers

nothing calls this directly

Calls 2

_get_mock_managerMethod · 0.95
roomsMethod · 0.45

Tested by

no test coverage detected