Skip to content

Commit

Permalink
Unify naming pf PFB manifest cans
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes-ucsc authored and dsotirho-ucsc committed Nov 25, 2024
1 parent 777eb29 commit da2e515
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/service/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit da2e515

Please sign in to comment.