mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #16162. Added timeout arg to DummyCache.set_many, for compatiblity with other caches. Thanks to aaugustin for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
1
tests/regressiontests/cache/tests.py
vendored
1
tests/regressiontests/cache/tests.py
vendored
@@ -147,6 +147,7 @@ class DummyCacheTests(unittest.TestCase):
|
||||
def test_set_many(self):
|
||||
"set_many does nothing for the dummy cache backend"
|
||||
self.cache.set_many({'a': 1, 'b': 2})
|
||||
self.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