MCPcopy
hub / github.com/django/django / test_delete_many_invalid_key

Method test_delete_many_invalid_key

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

Source from the content-addressed store, hash-verified

252 cache.delete_many(["a", "b"])
253
254 def test_delete_many_invalid_key(self):
255 msg = KEY_ERRORS_WITH_MEMCACHED_MSG % ":1:key with spaces"
256 with self.assertWarnsMessage(CacheKeyWarning, msg):
257 cache.delete_many(["key with spaces"])
258
259 def test_clear(self):
260 "clear does nothing for the dummy cache backend"

Callers

nothing calls this directly

Calls 2

assertWarnsMessageMethod · 0.80
delete_manyMethod · 0.45

Tested by

no test coverage detected