def test_admin_index(self):
        self.login_and_load()
        sections = TestSection.objects.all()
        response = self.client.get(self.admin_index_url)
        for section in sections:
            self.assertTrue(section.title in response.context['node_list'])
Verify that each section in the section tree can be found on the admin
dataset/ETHPy150Open mazelife/django-scaffold/scaffold/tests.py/SectionTest.test_admin_index