From da2e515d768f015cf901361b33643220a3598d06 Mon Sep 17 00:00:00 2001 From: Hannes Schmidt Date: Fri, 22 Nov 2024 22:39:34 -0800 Subject: [PATCH] Unify naming pf PFB manifest cans --- .../terra/{pfb_manifest.results.json => pfb_entities.json} | 0 .../terra/{pfb_manifest.schema.json => pfb_schema.json} | 0 test/service/test_manifest.py | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename test/service/data/manifest/terra/{pfb_manifest.results.json => pfb_entities.json} (100%) rename test/service/data/manifest/terra/{pfb_manifest.schema.json => pfb_schema.json} (100%) diff --git a/test/service/data/manifest/terra/pfb_manifest.results.json b/test/service/data/manifest/terra/pfb_entities.json similarity index 100% rename from test/service/data/manifest/terra/pfb_manifest.results.json rename to test/service/data/manifest/terra/pfb_entities.json diff --git a/test/service/data/manifest/terra/pfb_manifest.schema.json b/test/service/data/manifest/terra/pfb_schema.json similarity index 100% rename from test/service/data/manifest/terra/pfb_manifest.schema.json rename to test/service/data/manifest/terra/pfb_schema.json diff --git a/test/service/test_manifest.py b/test/service/test_manifest.py index 5d03f1318c..6eb1e52e0a 100644 --- a/test/service/test_manifest.py +++ b/test/service/test_manifest.py @@ -163,7 +163,7 @@ def _assert_pfb_schema(self, schema): fastavro.parse_schema({'this': 'is not', 'an': 'avro schema'}) actual = json.dumps(schema, indent=4, sort_keys=True) - expected = self._canned_manifest_path('terra', 'pfb_manifest.schema.json') + expected = self._canned_manifest_path('terra', 'pfb_schema.json') self._assert_or_create_json_can(expected, actual) def _assert_or_create_json_can(self, expected: Path, actual: str): @@ -381,7 +381,7 @@ def test_terra_pfb_manifest(self): schema = reader.writer_schema self._assert_pfb_schema(schema) records = list(reader) - expected = self._canned_manifest_path('terra', 'pfb_manifest.results.json') + expected = self._canned_manifest_path('terra', 'pfb_entities.json') # 'default' is specified to handle the conversion of datetime values actual = json.dumps(records, indent=4, sort_keys=True, default=str) self._assert_or_create_json_can(expected, actual)