(self)
| 710 | self.assertEqual(disconnected, '/ns') |
| 711 | |
| 712 | def test_send_class_based(self): |
| 713 | client = socketio.test_client(app, namespace='/ns') |
| 714 | client.get_received('/ns') |
| 715 | client.send('echo this message back', namespace='/ns') |
| 716 | received = client.get_received('/ns') |
| 717 | self.assertTrue(len(received) == 1) |
| 718 | self.assertTrue(received[0]['args'] == 'echo this message back') |
| 719 | |
| 720 | def test_send_json_class_based(self): |
| 721 | client = socketio.test_client(app, namespace='/ns') |
nothing calls this directly
no test coverage detected