MCPcopy
hub / github.com/django/django / test_clear

Method test_clear

tests/cache/tests.py:259–261  ·  view source on GitHub ↗

clear does nothing for the dummy cache backend

(self)

Source from the content-addressed store, hash-verified

257 cache.delete_many(["key with spaces"])
258
259 def test_clear(self):
260 "clear does nothing for the dummy cache backend"
261 cache.clear()
262
263 def test_incr_version(self):
264 "Dummy cache versions can't be incremented"

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected