

def test_index(self):
    'Request the index page and check the hooks are not used.'
    assert ('example' not in settings.INSTALLED_APPS)
    response = self.client.get('/')
    self.assertTemplateNotUsed(self, 'example/_sidebar_entry.html')
    self.assertNotContains(response, 'Hello templatehooks!')

dataset/ETHPy150Open weluse/django-templatehooks/tests/base/tests.py TemplateHooksDisabledTestCase.test_index/VarMisuse@37/67 `response`->`self`