

def test_delete_channel_as_member(self):
    self.login('unpopular')
    r = self.client.post('/channel/popular/settings/delete', {
        'nick': '#popular@example.com',
        'actor_remove': '',
        '_nonce': util.create_nonce('unpopular', 'actor_remove'),
    })
    self.assertContains(r, 'not allowed')
    r.assertWellformed(r)

dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py ChannelDeleteTest.test_delete_channel_as_member/VarMisuse@63/108 `self`->`r`