

def test_settings_all_pages_logged_out(self):
    for page in self.page_to_template_extension:
        r = self.client.get(('/channel/popular/settings' + page))
        r = self.assertRedirectsPrefix(r, '/login')

dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py SettingsTest.test_settings_all_pages_logged_out/original