'Tests an empty streaming response'

def test_empty_streaming(self):

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