MCPcopy
hub / github.com/django/django / set

Method set

tests/cache/failing_cache.py:6–7  ·  tests/cache/failing_cache.py::CacheClass.set
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

4class CacheClass(LocMemCache):
5
6 def set(self, *args, **kwargs):
7 raise Exception(class="st">"Faked exception saving to cache")
8
9 async def aset(self, *args, **kwargs):
10 raise Exception(class="st">"Faked exception saving to cache")

Callers 15

test_simpleMethod · 0.45
test_has_keyMethod · 0.45
test_inMethod · 0.45
test_incrMethod · 0.45
test_decrMethod · 0.45
test_data_typesMethod · 0.45
test_expirationMethod · 0.45
test_unicodeMethod · 0.45
test_incr_versionMethod · 0.45
test_decr_versionMethod · 0.45
test_simpleMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_simpleMethod · 0.36
test_has_keyMethod · 0.36
test_inMethod · 0.36
test_incrMethod · 0.36
test_decrMethod · 0.36
test_data_typesMethod · 0.36
test_expirationMethod · 0.36
test_unicodeMethod · 0.36
test_incr_versionMethod · 0.36
test_decr_versionMethod · 0.36
test_simpleMethod · 0.36