MCPcopy
hub / github.com/django/django / tearDown

Method tearDown

tests/cache/tests.py:2348–2349  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2346 factory = RequestFactory()
2347
2348 def tearDown(self):
2349 cache.clear()
2350
2351 def _set_cache(self, request, msg):
2352 return UpdateCacheMiddleware(lambda req: HttpResponse(msg))(request)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected