def METHOD_NAME(self, team_name):
    assert self._cfg.set_team_if_exists(
        team_name
    ), f"team option was expected to be present in: {self._test_config_path}"
    with open(self._test_config_path) as f:
        assert (
            team_name in f.read()
        ), f"set_team_if_exists failed to write team {team_name} in: {self._test_config_path}"