Skip to content

Commit

Permalink
fixup! Include replica_type in JSONL manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
nadove-ucsc committed Apr 13, 2024
1 parent 9e8347c commit 1b60252
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/service/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2044,13 +2044,16 @@ def test_jsonl_manifest(self):
response = self._get_manifest(ManifestFormat.verbatim_jsonl, filters={})
self.assertEqual(200, response.status_code)
manifest = [
json.loads(row)['contents']
json.loads(row)
for row in response.content.decode().splitlines()
]
expected = [
entity
{
'type': 'anvil_' + entity_ref.entity_type,
'contents': entity,
}
for bundle in self.bundles()
for entity in self._load_canned_bundle(bundle).entities.values()
for entity_ref, entity in self._load_canned_bundle(bundle).entities.items()
]

def sort_key(anvil_doc):
Expand Down

0 comments on commit 1b60252

Please sign in to comment.