set_many does nothing for the dummy cache backend
(self)
| 238 | self.assertIsNone(cache.get(key)) |
| 239 | |
| 240 | def test_set_many(self): |
| 241 | "set_many does nothing for the dummy cache backend" |
| 242 | self.assertEqual(cache.set_many({"a": 1, "b": 2}), []) |
| 243 | self.assertEqual(cache.set_many({"a": 1, "b": 2}, timeout=2, version="1"), []) |
| 244 | |
| 245 | def test_set_many_invalid_key(self): |
| 246 | msg = KEY_ERRORS_WITH_MEMCACHED_MSG % ":1:key with spaces" |