'Tests dict expansion'

def test_dict(self):

    router = Router({u'http.request': consumer_1, u'http.disconnect': consumer_2})
    self.assertRoute(router, channel=u'http.request', content={}, consumer=consumer_1, kwargs={})
    self.assertRoute(router, channel=u'http.request', content={u'path': u'/chat/'}, consumer=consumer_1, kwargs={})
    self.assertRoute(router, channel=u'http.disconnect', content={}, consumer=consumer_2, kwargs={})
