summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2017-10-30 15:25:33 +0000
committerTim Graham <timograham@gmail.com>2017-10-30 12:13:17 -0400
commitabacd09f07f4bb0aa1a3a32bc6e3c3570fa76912 (patch)
tree20c25fecc64459074d0b276fe59051c894966a9c /tests
parent03049fb8d96ccd1f1ed0285486103542de42faba (diff)
Refs #27318 -- Made DummyCache.set_many() return a list for consistency with other backends.
Diffstat (limited to 'tests')
-rw-r--r--tests/cache/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index 9a903ef203..5cee2d84a5 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -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"