

def test_join_channel_already_member(self):
    r.login('popular')
    r = self.client.post('/channel/popular', {
        'nick': 'popular@example.com',
        'channel_join': '',
        'channel': '#popular@example.com',
        '_nonce': util.create_nonce('popular', 'channel_join'),
    })
    self.assertContains(r, 'already a member')
    self.assertWellformed(r)

dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py ChannelJoinTest.test_join_channel_already_member/VarMisuse@10/15 `self`->`r`