'Compression isn\'t performed on responses with short content.'

def test_no_compress_short_response(self):

    self.resp.content = self.short_string
    r = GZipMiddleware().process_response(self.req, self.resp)
    self.assertEqual(r.content, self.short_string)
    self.assertIsNone(r.get('Content-Encoding'))
