diff --git a/tests/test_manifests.py b/tests/test_manifests.py index 294b8496..1226b5b0 100644 --- a/tests/test_manifests.py +++ b/tests/test_manifests.py @@ -21,14 +21,5 @@ def test_manifest(path, tag_to_schema): assert "description" in manifest for tag in manifest["tags"]: - if ( - "time" not in tag["tag_uri"] - and "core" not in tag["tag_uri"] - and "unit" not in tag["tag_uri"] - and "wcs" not in tag["tag_uri"] - ): - assert tag["tag_uri"] in tag_to_schema - schema = tag_to_schema[tag["tag_uri"]][0] - assert tag["schema_uri"] == schema["id"] assert "title" in tag assert "description" in tag diff --git a/tests/test_version_map.py b/tests/test_version_map.py index af6f55c0..0223df4f 100644 --- a/tests/test_version_map.py +++ b/tests/test_version_map.py @@ -33,11 +33,6 @@ def test_version_map(path, schema_tags): assert vm["FILE_FORMAT"] in VALID_FILE_FORMAT_VERSIONS assert vm["YAML_VERSION"] in VALID_YAML_VERSIONS - for tag_base, tag_version in vm["tags"].items(): - tag = f"{tag_base}-{tag_version}" - if "time" not in tag and "core" not in tag and "unit" not in tag and "wcs" not in tag: - assert tag in schema_tags, f"{path.name} specifies missing tag {tag}" - assert len(vm["tags"].keys()) == len(set(vm["tags"].keys())), f"{path.name} contains duplicate tags" sorted_tags = sorted(list(vm["tags"].keys()))