'Tests a large response (will need chunking)'

def test_large(self):

    Channel(u'test').send({u'reply_channel': u'test', u'http_version': u'1.1', u'method': u'GET', u'path': '/test/'})
    response = HttpResponse('Thefirstthirtybytesisrighthereandhereistherest')
    handler = FakeAsgiHandler(response)
    reply_messages = list(handler(self.get_next_message(u'test', require=True)))
    self.assertEqual(len(reply_messages), 2)
    self.assertEqual(reply_messages[0][u'content'], 'Thefirstthirtybytesisrighthere')
    self.assertEqual(reply_messages[0][u'status'], 200)
    self.assertEqual(reply_messages[0][u'more_content'], True)
    self.assertEqual(reply_messages[1][u'content'], 'andhereistherest')
    self.assertEqual(reply_messages[1].get(u'more_content', False), False)
