'The static view should stream files in chunks to avoid large memory usage'

def test_chunked(self):

    response = self.client.get(('/%s/%s' % (self.prefix, 'long-line.txt')))
    first_chunk = next(response.streaming_content)
    self.assertEqual(len(first_chunk), FileResponse.block_size)
    second_chunk = next(response.streaming_content)
    response.close()
    self.assertEqual(len(second_chunk.strip()), 1449)
