Permalink
Browse files

less queries comment

  • Loading branch information...
fivethreeo committed Jun 20, 2011
1 parent f30f623 commit 57fe09a1ebb5b7948d5c0d450ba6b4022c3f3819
Showing with 1 addition and 1 deletion.
  1. +1 −1 cms/tests/menu.py
View
@@ -721,7 +721,7 @@ def test_show_submenu(self):
db.reset_queries()
tpl = Template("{% load menu_tags %}{% show_sub_menu %}")
tpl.render(context)
- self.assertEqual(len(db.connection.queries), 19)
+ self.assertEqual(len(db.connection.queries), 19) # five less queries as expected
nodes = context['children']
self.assertEqual(len(nodes), 1)
self.assertEqual(nodes[0].id, 8)

0 comments on commit 57fe09a

Please sign in to comment.