(self)
| 189 | self.bm.close_room('bar', '/foo') |
| 190 | |
| 191 | async def test_rooms(self): |
| 192 | sid = await self.bm.connect('123', '/foo') |
| 193 | await self.bm.enter_room(sid, '/foo', 'bar') |
| 194 | r = self.bm.get_rooms(sid, '/foo') |
| 195 | assert len(r) == 2 |
| 196 | assert sid in r |
| 197 | assert 'bar' in r |
| 198 | |
| 199 | async def test_emit_to_sid(self): |
| 200 | sid = await self.bm.connect('123', '/foo') |
nothing calls this directly
no test coverage detected