summaryrefslogtreecommitdiff
path: root/tests/cache
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:24:29 -0400
commitea901eb9ad951b551ef28ab6c68296ca5888a1cb (patch)
tree179a44b5be1d54de41563b73bad497b673389e1b /tests/cache
parent6b5f2e3b7951c7cb27a316779e9dbdf12bd95726 (diff)
[2.0.x] Refs #27318 -- Made DummyCache.set_many() return a list for consistency with other backends.
Backport of abacd09f07f4bb0aa1a3a32bc6e3c3570fa76912 from master
Diffstat (limited to 'tests/cache')
-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 0549d790bc..25dff7ec7f 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -175,8 +175,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"