mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #6086 -- Deprecate the "simple" cache backend in favour of "locmem".
Thanks, Paul Bissex. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
2
tests/regressiontests/cache/tests.py
vendored
2
tests/regressiontests/cache/tests.py
vendored
@@ -72,6 +72,8 @@ class Cache(unittest.TestCase):
|
||||
'function' : f,
|
||||
'class' : C,
|
||||
}
|
||||
cache.set("stuff", stuff)
|
||||
self.assertEqual(cache.get("stuff"), stuff)
|
||||
|
||||
def test_expiration(self):
|
||||
# expiration
|
||||
|
||||
Reference in New Issue
Block a user