Skip to content

Commit ff6e19a

Browse files
committed
Update path to loc in render flat test.
1 parent c4c14cf commit ff6e19a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

snapshot/render_flat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def main():
622622
'SOURCE_DATA_LOC': os.environ.get('SOURCE_DATA_LOC', '')
623623
}
624624
)
625-
cluster.adapt(minimum=100, maximum=500)
625+
cluster.adapt(minimum=10, maximum=500)
626626
client = cluster.get_client()
627627

628628
hauls_meta_realized = list(hauls_meta)

snapshot/test_render_flat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def test_get_joined_path(self):
219219
def test_make_haul_metadata_record(self):
220220
path = render_flat.get_joined_path(2025, 'Gulf of Alaska', 123)
221221
metadata = render_flat.make_haul_metadata_record(path)
222-
self.assertEqual(metadata['path'], path)
222+
self.assertEqual(metadata['loc'], path)
223223
self.assertEqual(metadata['year'], 2025)
224224
self.assertEqual(metadata['survey'], 'Gulf of Alaska')
225225
self.assertEqual(metadata['haul'], 123)

0 commit comments

Comments
 (0)