

def test_overextends(self):
    '\n        Ensure the test string appear in the rendered template.\n        '
    with self.modify_settings(INSTALLED_APPS={
        'prepend': previous.test_apps,
    }):
        html = get_template(self.unique_id).render(Context())
        previous = ''
        for test_string in (['project'] + self.test_apps):
            self.assertTrue((test_string in html))
            if previous:
                self.assertTrue((html.index(test_string) < html.index(previous)))
            previous = test_string

dataset/ETHPy150Open stephenmcd/django-overextends/overextends/tests.py Tests.test_overextends/VarMisuse@23/54 `self`->`previous`