def test_generate_site_navigation(self):

        pages = [
            'index.md',
            'api-guide/running.md',
            'about/notes.md',
            'about/sub/license.md',
        ]

        url_context = nav.URLContext()
        nav_items, pages = nav._generate_site_navigation(pages, url_context)

        self.assertEqual([n.title for n in nav_items],
                         ['Home', 'Running', 'Notes', 'License'])
        self.assertEqual([p.title for p in pages],
                         ['Home', 'Running', 'Notes', 'License'])
Validate sort order, but don't return any filters.
dataset/ETHPy150Open mkdocs/mkdocs/mkdocs/tests/nav_tests.py/SiteNavigationTests.test_generate_site_navigation--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/community/api.py/TopContributorsBase.filter_ordering