Skip to content

Commit 5bc972c

Browse files
authored
Merge pull request #3 from dmitriyrepin/autoshot-wrap-2
Fix unit tests
2 parents b686e4b + cf4458c commit 5bc972c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/v1/templates/test_seismic_prestack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def test_configuration(self) -> None:
165165
"group_coord_y",
166166
"orig_field_record_num",
167167
)
168-
assert t.full_chunk_size == (1, 1, 16, 1, 32, -1)
168+
assert t.full_chunk_size == (1, 1, 16, 1, 32, 1024)
169169

170170
# Variables instantiated when build_dataset() is called
171171
assert t._builder is None
@@ -208,7 +208,7 @@ def test_build_dataset(self, structured_headers: StructuredType) -> None:
208208
assert isinstance(seismic.compressor, Blosc)
209209
assert seismic.compressor.cname == BloscCname.zstd
210210
assert isinstance(seismic.metadata.chunk_grid, RegularChunkGrid)
211-
assert seismic.metadata.chunk_grid.configuration.chunk_shape == (1, 1, 16, 1, 32, -1)
211+
assert seismic.metadata.chunk_grid.configuration.chunk_shape == (1, 1, 16, 1, 32, 1024)
212212
assert seismic.metadata.stats_v1 is None
213213

214214

0 commit comments

Comments
 (0)