'top: not in navigation
tag: show_menu 0 100 0 100
context shared: current page is aaa
context 1: root is NOT a softroot
context 2: root IS a softroot
expected result: the two node-trees should be equal'

def test_top_not_in_nav(self):

    top = self.get_page('top')
    top.in_navigation = False
    top.save()
    aaa = self.get_page('aaa')
    context = self.get_context(aaa.get_absolute_url())
    tpl = Template('{%    load    menu_tags    %}{%    show_menu    0    100    0    100    %}')
    tpl.render(context)
    hard_root = context['children']
    root = self.get_page('root')
    root.soft_root = True
    root.save()
    aaa = self.get_page('aaa')
    context = self.get_context(aaa.get_absolute_url())
    tpl = Template('{%    load    menu_tags    %}{%    show_menu    0    100    0    100    %}')
    tpl.render(context)
    soft_root = context['children']
    self.assertTreeQuality(hard_root, soft_root, 'level', 'title')
