Skip to content

Commit 8c9f3ce

Browse files
committed
[TEST] Fix typo in test name and add model serialization check
Corrected the test method name from `test_topogrphy_II` to `test_topography_II` for consistency. Added a verification step to validate model serialization after the topography computation.
1 parent 95a580a commit 8c9f3ce

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/test_modules/test_grids/test_grids_sections.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_section_grids():
6464

6565

6666
@pytest.mark.skipif(TEST_SPEED.value < TestSpeed.MINUTES.value, reason="Global test speed below this test value.")
67-
def test_topogrphy_II():
67+
def test_topography_II():
6868
geo_model: gp.data.GeoModel = gp.generate_example_model(
6969
example_model=ExampleModel.TWO_AND_A_HALF_D,
7070
compute_model=False
@@ -77,7 +77,12 @@ def test_topogrphy_II():
7777
show_lith=False,
7878
image=True
7979
)
80-
80+
81+
verify_model_serialization(
82+
model=geo_model,
83+
verify_moment="after",
84+
file_name=f"verify/{geo_model.meta.name}"
85+
)
8186
gp.compute_model(geo_model)
8287

8388
gpv.plot_2d(geo_model, show_boundaries=False, section_names=['topography'])

0 commit comments

Comments
 (0)