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