test raise RuntimeError when no team_id configured