

def test_add_tag_login_required(self):
    url = reverse('add-tag-to-object', kwargs={
        'app': APP,
        'object_type': 'committeemeeting',
        'object_id': res.meeting_1.id,
    })
    res = self.client.post(url, {
        'tag_id': self.tag_1,
    })
    self.assertRedirects(res, ('%s?next=%s' % (settings.LOGIN_URL, url)), status_code=302)

dataset/ETHPy150Open ofri/Open-Knesset/committees/tests.py CommitteeMeetingDetailViewTest.test_add_tag_login_required/VarMisuse@32/60 `self`->`res`