def test_already_in_group(self):
        data = {'user': self.user.username}
        form = DashboardAddMemberForm(self.group, data)
        self.assertFalse(form.is_valid())
        self.assertTrue(form._errors in 'user')
dataset/ETHPy150Open lukaszb/django-projector/projector/tests/test_teams.py/DashboardAddMemberFormTest.test_already_in_group/swapped operands of `in`