(self)
| 297 | ) |
| 298 | |
| 299 | def test_connect_twice(self): |
| 300 | c = client.Client() |
| 301 | c.eio.connect = mock.MagicMock() |
| 302 | c.connect( |
| 303 | 'url', |
| 304 | wait=False, |
| 305 | ) |
| 306 | with pytest.raises(exceptions.ConnectionError): |
| 307 | c.connect( |
| 308 | 'url', |
| 309 | wait=False, |
| 310 | ) |
| 311 | |
| 312 | def test_connect_wait_single_namespace(self): |
| 313 | c = client.Client() |