diff --git a/tests/metadata/latest/test_context.py b/tests/metadata/latest/test_context.py index 8aff394..585952e 100644 --- a/tests/metadata/latest/test_context.py +++ b/tests/metadata/latest/test_context.py @@ -11,7 +11,7 @@ @pytest.fixture def load_files(): """Load the example.json and context.json files.""" - base_path = "metadata/v2/v20/" + base_path = "metadata/latest/" example_file = os.path.join(base_path, "example.json") context_file = os.path.join(base_path, "context.json") @@ -27,7 +27,7 @@ def load_files(): def clean_context(context): - """Remove invalid entries from the context (placeholders or invalid @type).""" + """Remove invalid entries (placeholders or invalid @type).""" cleaned_context = {} for key, value in context.items(): if isinstance(value, dict): diff --git a/tests/metadata/latest/test_schema.py b/tests/metadata/latest/test_schema.py index 0af6ef5..11a0728 100644 --- a/tests/metadata/latest/test_schema.py +++ b/tests/metadata/latest/test_schema.py @@ -35,5 +35,5 @@ def get_string(s): ), "Wrong schema path in OEMetadata Schema (Latest)!" assert get_string(OEMETADATA_LATEST_SCHEMA["$id"]) == get_string( - "https://raw.githubusercontent.com/OpenEnergyPlatform/oemetadata/production/metadata/v20/v20/schema.json" + "https://raw.githubusercontent.com/OpenEnergyPlatform/oemetadata/production/metadata/latest/schema.json" ), "Wrong id path in OEMetadata Schema (Latest)!"