'TestMenu has 4 flat nodes'

def test_extenders_on_child(self):

    self._update_page(1, in_navigation=False)
    self._update_page(2, navigation_extenders='TestMenu')
    menu_pool.clear(settings.SITE_ID)
    menu_pool.clear(settings.SITE_ID)
    context = self.get_context()
    tpl = Template('{%    load    menu_tags    %}{%    show_menu    0    100    100    100    %}')
    tpl.render(context)
    nodes = context['children']
    self.assertEqual(len(nodes), 2)
    self.assertEqual(len(nodes[0].children), 4)
    self.assertEqual(nodes[0].children[1].get_absolute_url(), '/')
