diff --git a/tests/test_neps_api/test_api.py b/tests/test_neps_api/test_api.py index cebbdcc5..3dd075cf 100644 --- a/tests/test_neps_api/test_api.py +++ b/tests/test_neps_api/test_api.py @@ -44,7 +44,7 @@ def test_default_examples(tmp_path: Path, example_script: Path) -> None: # Testing each folder with its corresponding expected dictionary for folder in tmp_path.iterdir(): - info_yaml_path = folder / ".optimizer_info" / "info.yaml" + info_yaml_path = folder / "optimizer_info.yaml" assert info_yaml_path.exists() loaded_data = yaml.safe_load(info_yaml_path.read_text()) diff --git a/tests/test_yaml_run_args/test_run_args_by_neps_run/test_neps_run.py b/tests/test_yaml_run_args/test_run_args_by_neps_run/test_neps_run.py index 4995a14c..c286c2b6 100644 --- a/tests/test_yaml_run_args/test_run_args_by_neps_run/test_neps_run.py +++ b/tests/test_yaml_run_args/test_run_args_by_neps_run/test_neps_run.py @@ -18,19 +18,19 @@ "file_name": "config_select_bo.yaml", "check_optimizer": True, "optimizer_path": "select_bo_run_args.yaml", - "result_path": "tests_tmpdir/test_run_args_by_neps_run/optimizer_bo/.optimizer_info/info.yaml", + "result_path": "tests_tmpdir/test_run_args_by_neps_run/optimizer_bo/optimizer_info.yaml", }, { "file_name": "config_priorband_with_args.yaml", "check_optimizer": True, "optimizer_path": "priorband_args_run_args.yaml", - "result_path": "tests_tmpdir/test_run_args_by_neps_run/optimizer_priorband/.optimizer_info/info.yaml", + "result_path": "tests_tmpdir/test_run_args_by_neps_run/optimizer_priorband/optimizer_info.yaml", }, { "file_name": "config_hyperband_mixed_args.yaml", "check_optimizer": True, "optimizer_path": "hyperband_searcher_kwargs_yaml_args.yaml", - "result_path": "tests_tmpdir/test_run_args_by_neps_run/optimizer_hyperband/.optimizer_info/info.yaml", + "result_path": "tests_tmpdir/test_run_args_by_neps_run/optimizer_hyperband/optimizer_info.yaml", "args": True, }, ],