def test_gzip_page(self):
        content = self.unique_gzip()
        self.assertViewBehavior(
            {"get": content},
            headers={"HTTP_ACCEPT_ENCODING": "gzip"},
            status_code=200,
            content=self.compress(content),
            headers_exact={"Content-Encoding": "gzip"})
Check that a response's content is gzipped when the conditions for
dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/tests/views/behaviors/gzip/tests.py/GZipPageTestCase.test_gzip_page