From de65a41b54b5f6181c570751b08bd48464cb624a Mon Sep 17 00:00:00 2001 From: Mike Barkas Date: Tue, 28 Mar 2017 17:00:53 -0400 Subject: [PATCH] Issue-579: Fix sentence grammar in documentation. (#580) --- docs/testing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index 04c6144..bc4a082 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -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