mirror of
https://github.com/django/daphne.git
synced 2025-04-20 08:42:18 +03:00
Testing Docs: Update import from Channel -> Group (#307)
This commit is contained in:
parent
3e2444b9b9
commit
860da6e241
|
@ -69,7 +69,7 @@ You can test Groups in the same way as Channels inside a ``ChannelTestCase``;
|
|||
the entire channel layer is flushed each time a test is run, so it's safe to
|
||||
do group adds and sends during a test. For example::
|
||||
|
||||
from channels import Channel
|
||||
from channels import Group
|
||||
from channels.tests import ChannelTestCase
|
||||
|
||||
class MyTests(ChannelTestCase):
|
||||
|
|
Loading…
Reference in New Issue
Block a user