

def test_settings_all_pages_logged_in(self):
    template_extention.login('popular')
    for (page, template_extention) in self.page_to_template_extension.iteritems():
        r = self.client.get(('/channel/popular/settings' + page))
        self.assertTemplateUsed(r, ('channel/templates/settings_%s.html' % template_extention))
        self.assertWellformed(r)

dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py SettingsTest.test_settings_all_pages_logged_in/VarMisuse@10/17 `self`->`template_extention`