def test_max_age(self):
        content = self.unique()
        self.assertViewBehavior(
            {"cache_control_max_age": 1, "get": content},
            status_code=200,
            content=content,
            headers_exact={"Cache-Control": "max-age=1"})
Check that the max_age cache control header is set on the resopnse.
dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/tests/views/behaviors/cache/tests.py/CacheControlTestCase.test_max_age