summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index a9f5927c83..94af45c03e 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -286,6 +286,8 @@ class BaseCacheTests(object):
cache.set("hello1", "goodbye1")
self.assertEqual(cache.has_key("hello1"), True)
self.assertEqual(cache.has_key("goodbye1"), False)
+ cache.set("no_expiry", "here", None)
+ self.assertEqual(cache.has_key("no_expiry"), True)
def test_in(self):
# The in operator can be used to inspect cache contents