MCPcopy
hub / github.com/django/django / test_aset_many_invalid_key

Method test_aset_many_invalid_key

tests/cache/tests_async.py:139–142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

137 )
138
139 async def test_aset_many_invalid_key(self):
140 msg = KEY_ERRORS_WITH_MEMCACHED_MSG % ":1:key with spaces"
141 with self.assertWarnsMessage(CacheKeyWarning, msg):
142 await cache.aset_many({"key with spaces": "foo"})
143
144 async def test_adelete_many(self):
145 """adelete_many() does nothing for the dummy cache backend."""

Callers

nothing calls this directly

Calls 2

assertWarnsMessageMethod · 0.80
aset_manyMethod · 0.80

Tested by

no test coverage detected