def test_index(self):
        assert 'example' not in settings.INSTALLED_APPS

        response = self.client.get('/')
        self.assertTemplateNotUsed(response, "example/_sidebar_entry.html")
        self.assertNotContains(response, u"Hello templatehooks!")
Add a package to the list of packages, including certain subpackages.
dataset/ETHPy150Open weluse/django-templatehooks/tests/base/tests.py/TemplateHooksDisabledTestCase.test_index--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/setupbase.py/add_package