diff --git a/docs/testing.rst b/docs/testing.rst index 1ac48bd..04c6144 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -157,7 +157,7 @@ For example:: username='test', email='test@test.com', password='123456') client.login(username='test', password='123456') - client.send_and_consume('websocket.connect', '/rooms/') + client.send_and_consume('websocket.connect', path='/rooms/') # check that there is nothing to receive self.assertIsNone(client.receive())