'All pages are visible to an anonymous user'

def test_public_pages_anonymous_norestrictions(self):

    all_pages = self._setup_tree_pages()
    request = self.get_request()
    visible_page_ids = get_visible_pages(request, all_pages, self.site)
    self.assertEqual(len(all_pages), len(visible_page_ids))
    menu_renderer = menu_pool.get_renderer(request)
    nodes = menu_renderer.get_nodes()
    self.assertEqual(len(nodes), len(all_pages))
