def test_cache(self):
        assert self.route.cache().route['response_headers']['cache-control'] == 'public, max-age=31536000'
Test to ensure it's easy to add a cache header on the fly
dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestHTTPRouter.test_cache