Skip to content

Commit

Permalink
Fix the number of cache calls expected in a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schilling committed May 10, 2015
1 parent 783ed46 commit bbc0b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/panels/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_recording(self):
cache.cache.delete('foo')
# Verify that the cache has a valid clear method.
cache.cache.clear()
self.assertEqual(len(self.panel.calls), 5)
self.assertEqual(len(self.panel.calls), 4)

@skipIf(django.VERSION < (1, 7), "Caches was added in Django 1.7")
def test_recording_caches(self):
Expand Down

0 comments on commit bbc0b5d

Please sign in to comment.