def METHOD_NAME():
    Path("base_surface.irap").write_text("not valid irap", encoding="utf-8")
    with pytest.raises(
        ConfigValidationError, match="Could not load surface 'base_surface.irap'"
    ):
        _ = SurfaceConfig.from_config_list(
            [
                "TOP",
                "BASE_SURFACE:base_surface.irap",
                "OUTPUT_FILE:out.txt",
                "INIT_FILES:%dsurf.irap",
            ]
        )