Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Am K committed Sep 17, 2024
1 parent 8e4640b commit 2d4308a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_cache(self):
self.assertEqual(c.has("foo"), False)
self.assertEqual(c.set("spam", "eggs", ttl=3), True)
self.assertEqual(c.has("spam"), True)
time.sleep(1)
time.sleep(3)
self.assertEqual(c.has("spam"), False)
self.assertEqual(c.size(), 0)

Expand Down

0 comments on commit 2d4308a

Please sign in to comment.