'Test details view when apphook pool has apphooks, but they\'re not
actually hooked'

def test_apphook_not_hooked(self):

    if (APP_MODULE in sys.modules):
        del sys.modules[APP_MODULE]
    apphooks = (('%s.%s' % (APP_MODULE, APP_NAME)),)
    create_page('page2', 'nav_playground.html', 'en', published=True)
    with self.settings(CMS_APPHOOKS=apphooks):
        self.apphook_clear()
        response = self.client.get('/en/')
        self.assertEqual(response.status_code, 200)
        self.apphook_clear()
