'Here\'s the structure bit we\'re interested in:
+ P6 (not in menu)
+ P7
+ P8
When we render P6, there should be a menu entry for P7 and P8 if the
tag parameters are "1 XXX XXX XXX"'

def test_show_submenu_from_non_menu_page(self):

    page6 = self.get_page(6)
    context = self.get_context(page6.get_absolute_url(), page=page6)
    tpl = Template('{%    load    menu_tags    %}{%    show_menu    1    100    0    1    %}')
    tpl.render(context)
    nodes = context['children']
    number_of_p6_children = len(page6.children.filter(in_navigation=True))
    self.assertEqual(len(nodes), number_of_p6_children)
    page7 = self.get_page(7)
    context = self.get_context(page7.get_absolute_url(), page=page7)
    tpl = Template('{%    load    menu_tags    %}{%    show_menu    1    100    0    1    %}')
    tpl.render(context)
    nodes = context['children']
    self.assertEqual(len(nodes), number_of_p6_children)
    tpl = Template('{%    load    menu_tags    %}{%    show_menu    2    100    0    1    %}')
    tpl.render(context)
    nodes = context['children']
    number_of_p7_children = len(page7.children.filter(in_navigation=True))
    self.assertEqual(len(nodes), number_of_p7_children)
