Skip to content

Commit

Permalink
Fix test cache settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Feb 11, 2016
1 parent 30e95cf commit 98da816
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 368 deletions.
364 changes: 0 additions & 364 deletions cms/test_utils/cli.py

This file was deleted.

2 changes: 1 addition & 1 deletion cms/tests/test_cache.py
Expand Up @@ -107,7 +107,7 @@ def test_no_cache_plugin(self):
rctx = RequestContext(request)
with self.assertNumQueries(4):
render = template.render(rctx)
with self.assertNumQueries(FuzzyInt(14, 18)):
with self.assertNumQueries(FuzzyInt(14, 19)):
response = self.client.get('/en/')
resp1 = response.content.decode('utf8').split("$$$")[1]

Expand Down
6 changes: 3 additions & 3 deletions manage.py
Expand Up @@ -342,9 +342,9 @@ def __getitem__(self, item):
CMS_PERMISSION=True,
CMS_PUBLIC_FOR='all',
CMS_CACHE_DURATIONS={
'menus': 0,
'content': 0,
'permissions': 0,
'menus': 60,
'content': 60,
'permissions': 60,
},
CMS_APPHOOKS=[],
CMS_PLUGIN_PROCESSORS=(),
Expand Down

0 comments on commit 98da816

Please sign in to comment.