def METHOD_NAME(teamlead):
    """
    Changes the team of the teamlead to something invalid. Excpects an exception.
    """
    with pytest.raises(AssertionError) as excinfo:
        teamlead.team = ""
    msg = str(excinfo.value)
    assert "len(self.team) > 0" in msg