Issue-579: Fix sentence grammar in documentation. (#580)

This commit is contained in:
Mike Barkas 2017-03-28 17:00:53 -04:00 committed by Andrew Godwin
parent 38bc238788
commit de65a41b54

View File

@ -191,10 +191,10 @@ so if you need to pass decoding use ``receive(json=False)``, like in the example
Applying routes
---------------
When you need to testing you consumers without routes in settings or you
want to testing your consumers in more isolate and atomic way, it will be
When you need to test your consumers without routes in settings or you
want to test your consumers in a more isolate and atomic way, it will be
simpler with ``apply_routes`` contextmanager and decorator for your ``ChannelTestCase``.
It takes list of routes that you want to use and overwrite existing routes::
It takes a list of routes that you want to use and overwrites existing routes::
from channels.test import ChannelTestCase, HttpClient, apply_routes