mirror of
https://github.com/django/daphne.git
synced 2025-07-30 00:49:44 +03:00
Fixed missing keyword argument in testing documentation (#574)
This commit is contained in:
parent
1c5074d128
commit
df22aa792c
|
@ -157,7 +157,7 @@ For example::
|
||||||
username='test', email='test@test.com', password='123456')
|
username='test', email='test@test.com', password='123456')
|
||||||
client.login(username='test', 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
|
# check that there is nothing to receive
|
||||||
self.assertIsNone(client.receive())
|
self.assertIsNone(client.receive())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user