def test_settings_channel_not_exist(self):
    self.login('popular')
    for page, template_extention in self.page_to_template_extension.iteritems():
      if page == '/delete':
        # See note in views.py for the issue with the delete page.
        continue
      r = self.client.get('/channel/nonexist/settings' + page)
      # TODO(termie): it redirects twice and this function doesn't handle that
      #r = self.assertRedirectsPrefix(r, '/channel/nonexist')
      #self.assertWellformed(r)
dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py/SettingsTest.test_settings_channel_not_exist/original