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

def test_chunked(self):

    response = self.client.get(('/views/%s/%s' % (self.prefix, 'long-line.txt')))
    first_chunk = next(response.streaming_content)
    self.assertEqual(len(first_chunk), STREAM_CHUNK_SIZE)
    second_chunk = next(response.streaming_content)
    self.assertEqual(len(second_chunk), 1451)
