def test_anonymous(self):
        user = AnonymousUser()
        try:
            Team.objects.convert_from_user(user)
        except __HOLE__:
            pass
        else:
            self.fail("Cannot allow to convert anonymous user to team")
dataset/ETHPy150Open lukaszb/django-projector/projector/tests/test_user2team_conversion.py/UserToTeamConversion.test_anonymous