'Tests route_class with/without prefix'

def test_route_class(self):

    router = Router([include(u'tests.test_routing.class_routing')])
    self.assertRoute(router, channel=u'websocket.connect', content={u'path': u'/foobar/'}, consumer=None)
    self.assertRoute(router, channel=u'test.channel', content={u'path': u'/foobar/'}, consumer=TestClassConsumer)
    self.assertRoute(router, channel=u'test.channel', content={u'path': u'/'}, consumer=None)
