MCPcopy
hub / github.com/django/django / test_simple

Method test_simple

tests/cache/tests.py:124–127  ·  view source on GitHub ↗

Dummy cache backend ignores cache set calls

(self)

Source from the content-addressed store, hash-verified

122 # so it has its own test case.
123
124 def test_simple(self):
125 "Dummy cache backend ignores cache set calls"
126 cache.set("key", "value")
127 self.assertIsNone(cache.get("key"))
128
129 def test_add(self):
130 "Add doesn't do anything in dummy cache backend"

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected