MCPcopy
hub / github.com/django/django / test_delete_nonexistent

Method test_delete_nonexistent

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

Source from the content-addressed store, hash-verified

384 self.assertEqual(cache.get("key2"), "eggs")
385
386 def test_delete_nonexistent(self):
387 self.assertIs(cache.delete("nonexistent_key"), False)
388
389 def test_has_key(self):
390 # The cache can be inspected for cache keys

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected