

def test_settings_details(self):
    self.login('popular')
    external_url = 'http://example.com'
    description = 'test desc'
    r = self.client.post('/channel/popular/settings/details', {
        'channel_update': '',
        'channel': '#popular@example.com',
        'description': description,
        'external_url': external_url,
        '_nonce': util.create_nonce('popular', 'channel_update'),
    })
    r = self.assertRedirectsPrefix(r, '/channel/popular/settings/details')
    self.assertContains(r, description)
    r.assertContains(r, external_url)
    self.assertWellformed(r)

dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py SettingsTest.test_settings_details/VarMisuse@92/158 `self`->`r`