def assertHasCache(self, url, age):
        r = self.app.get(url)
        self.assertIn('Expires', r.headers)
        self.assertEqual(r.headers['Cache-Control'], 'max-age=%s' % age)
dataset/ETHPy150Open Kinto/kinto/kinto/tests/test_views_collections_cache.py/SpecificSettingsTest.assertHasCache/original