def test_wrong_user(self):
        data = {'user': 'not-existing-user-name'}
        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_wrong_user/swapped operands of `in`