Commit 0921e2e6 authored by Sean Bleier's avatar Sean Bleier

Updates the test case to allow key time to expire.

parent 49326a59
......@@ -406,7 +406,7 @@ class RedisCacheTests(TestCase):
ttl = self.cache.ttl('a')
self.assertAlmostEqual(ttl, 1)
time.sleep(1)
time.sleep(2)
ttl = self.cache.ttl('a')
self.assertEqual(ttl, 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment