

def test_nonexist_channel_logged_out(self):
    r = self.client.get('/channel/doesntexist')
    r = self.assertRedirectsPrefix(r, '/channel/create', target_status_code=302)
    r = self.assertRedirectsPrefix(r, '/login?')
    r.assertWellformed(r)

dataset/ETHPy150Open CollabQ/CollabQ/channel/tests.py NonExistentTest.test_nonexist_channel_logged_out/VarMisuse@47/74 `self`->`r`