def test_staff(self):
        self.jack.is_staff = True
        self.jack.save()
        try:
            Team.objects.convert_from_user(self.jack)
        except __HOLE__:
            pass
        else:
            self.fail("Cannot allow to convert staff member to team")
dataset/ETHPy150Open lukaszb/django-projector/projector/tests/test_user2team_conversion.py/UserToTeamConversion.test_staff