mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #27318 -- Made DummyCache.set_many() return a list for consistency with other backends.
This commit is contained in:
4
tests/cache/tests.py
vendored
4
tests/cache/tests.py
vendored
@@ -173,8 +173,8 @@ class DummyCacheTests(SimpleTestCase):
|
||||
|
||||
def test_set_many(self):
|
||||
"set_many does nothing for the dummy cache backend"
|
||||
cache.set_many({'a': 1, 'b': 2})
|
||||
cache.set_many({'a': 1, 'b': 2}, timeout=2, version='1')
|
||||
self.assertEqual(cache.set_many({'a': 1, 'b': 2}), [])
|
||||
self.assertEqual(cache.set_many({'a': 1, 'b': 2}, timeout=2, version='1'), [])
|
||||
|
||||
def test_delete_many(self):
|
||||
"delete_many does nothing for the dummy cache backend"
|
||||
|
||||
Reference in New Issue
Block a user