MCPcopy
hub / github.com/django/django / test_aget_many_invalid_key

Method test_aget_many_invalid_key

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

Source from the content-addressed store, hash-verified

37 self.assertEqual(await cache.aget_many(["a", "b", "e"]), {})
38
39 async def test_aget_many_invalid_key(self):
40 msg = KEY_ERRORS_WITH_MEMCACHED_MSG % ":1:key with spaces"
41 with self.assertWarnsMessage(CacheKeyWarning, msg):
42 await cache.aget_many(["key with spaces"])
43
44 async def test_adelete(self):
45 """

Callers

nothing calls this directly

Calls 2

assertWarnsMessageMethod · 0.80
aget_manyMethod · 0.80

Tested by

no test coverage detected