From b4ab3720efeddf330b51a8f414a86a7a4620b380 Mon Sep 17 00:00:00 2001 From: Dana Singh Date: Tue, 5 Nov 2024 13:03:35 -0500 Subject: [PATCH] #187 Update schema path --- fre/yamltools/tests/test_combine_yamls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fre/yamltools/tests/test_combine_yamls.py b/fre/yamltools/tests/test_combine_yamls.py index 58c402e3..abf98a50 100644 --- a/fre/yamltools/tests/test_combine_yamls.py +++ b/fre/yamltools/tests/test_combine_yamls.py @@ -136,8 +136,8 @@ def test_combined_compileyaml_validatefail(): # Validate against schema; should fail wrong_combined = Path(f"{COMP_OUT_DIR}/combined-am5-wrong_datatype.yaml") #schema_file = os.path.join(f"{IN_DIR}","compile_yamls","schema.json") - schema_file = os.path.join(Path(TEST_DIR).resolve().parents[7], "gfdl_msd_schemas", "FRE", "fre_make.json") -# print(schema_file) + schema_file = os.path.join(Path(TEST_DIR).resolve().parents[1], "gfdl_msd_schemas", "FRE", "fre_make.json") + print(schema_file) # Open/load combined yaml file with open(wrong_combined,'r') as cf: