@skipIf(not CACHE_TIMEOUT, "Caching is disabled.")
    def test_context_processor_cached(self):
        current_placements(self.request)
        with self.assertNumQueries(0):
            request = self.factory.get('/foo/')
            current_placements(request)
Subsequent calls through the context process should be cached.
dataset/ETHPy150Open mlavin/django-ad-code/adcode/tests/test_performance.py/QueryCountsTestCase.test_context_processor_cached