Skip to content

Commit 57d7422

Browse files
committed
[TEST] Update approved test files with new binary metadata
Added `ori_binary_length` and `_input_binary_size` fields to the `binary_meta_data` section of approved test files. Ensures test consistency with recent changes to binary metadata structure.
1 parent d3e7d6e commit 57d7422

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

test/test_modules/test_faults/test_finite_faults.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
k = np.array([1, 1, 1]) * 1
1414

1515
PLOT = False
16-
# TODO: Add the approval test check
1716

1817

1918
@pytest.mark.skipif(TEST_SPEED.value < TestSpeed.SECONDS.value, reason="Global test speed below this test value.")

test/test_modules/test_faults/test_finite_faults.test_finite_fault_scalar_field_on_fault.verify/fault.approved.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@
160160
"_centered_grid": null,
161161
"_transform": null,
162162
"_octree_levels": -1,
163+
"_grid_binary_size": 8,
164+
"binary_meta_data": {
165+
"custom_grid_binary_length": 0,
166+
"topography_binary_length": 0,
167+
"grid_binary_size": 8
168+
},
163169
"active_grids": 1025
164170
},
165171
"geophysics_input": null,

test/test_modules/test_grids/test_grids_sections.test_topography_II.verify/Model1.approved.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@
142142
"source": null,
143143
"values": [],
144144
"resolution": [
145-
0,
146-
0
145+
50,
146+
40
147147
],
148148
"raster_shape": [],
149149
"_mask_topo": null,
@@ -154,6 +154,12 @@
154154
"_centered_grid": null,
155155
"_transform": null,
156156
"_octree_levels": -1,
157+
"_grid_binary_size": 20161,
158+
"binary_meta_data": {
159+
"custom_grid_binary_length": 0,
160+
"topography_binary_length": 48000,
161+
"grid_binary_size": 20161
162+
},
157163
"active_grids": 1034
158164
},
159165
"geophysics_input": null,

0 commit comments

Comments
 (0)