Make flake8 more happy

This commit is contained in:
Andrew Godwin 2016-03-20 14:10:05 -03:00
parent 3cdf51ed84
commit 4f8b297462

View File

@ -10,12 +10,15 @@ from channels.utils import name_that_thing
def consumer_1():
pass
def consumer_2():
pass
def consumer_3():
pass
chatroom_routing = [
route("websocket.connect", consumer_2, path=r"^/chat/(?P<room>[^/]+)/$"),
route("websocket.connect", consumer_3, path=r"^/mentions/$"),
@ -32,14 +35,6 @@ class RoutingTests(SimpleTestCase):
Tests that the router's routing code works correctly.
"""
# Fake consumers we can test for with the == operator
def consumer_1(self):
pass
def consumer_2(self):
pass
def consumer_3(self):
pass
def assertRoute(self, router, channel, content, consumer, kwargs=None):
"""
Asserts that asking the `router` to route the `content` as a message