Skip to content

Commit

Permalink
assertEqual incase test fails again
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Feb 19, 2014
1 parent 614dfd3 commit 9b54571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_moving_window_in_memory(self):
self.assertTrue(limiter.hit(limit))
self.assertTrue(limiter.hit(limit))
self.assertFalse(limiter.hit(limit))
self.assertTrue(len(storage.events[limit.key_for()]) == 10)
self.assertEqual(len(storage.events[limit.key_for()]), 10)

def test_moving_window_redis(self):
storage = RedisStorage("redis://localhost:6379")
Expand Down

0 comments on commit 9b54571

Please sign in to comment.