def test_wrong_username(self):
        wrong_usernames = (' ', '.', '*', 'joe!', '###', ',.<>')
        for username in wrong_usernames:
            data = {'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_wrong_username/swapped operands of `in`