def test_cache_page_disabled(self):
        content = self.unique()
        calls = []
        def get(self, request, *args, **kwargs):
            calls.append(None)
            return http.HttpResponse(content)
        self.assertViewBehavior(
            {"cache_page": False, "get": get},
            repeat=2,
            status_code=200,
            content=content)
        self.assertEqual(len(calls), 2)
Check that the response is not cached when the behavior is disabled.
dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/tests/views/behaviors/cache/tests.py/CachePageTestCase.test_cache_page_disabled