Skip to content

Commit 80d683d

Browse files
committed
fix rof map test
1 parent 662b8e9 commit 80d683d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/3_system/test_rof_ocn_map.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,6 @@ def test_standard_rof_to_ocn_mapping():
8989
assert cvars["ROF_OCN_MAPPING_RMAX"].value is None, "ROF_OCN_MAPPING_RMAX should be None"
9090
assert cvars["ROF_OCN_MAPPING_FOLD"].value is None, "ROF_OCN_MAPPING_FOLD should be None"
9191

92-
# *Click* the Generate New Map button
93-
runoffMappingGenerator = Stage.active()._widget._supplementary_widgets[0]
94-
runoffMappingGenerator._btn_generate_new.click()
95-
96-
# After clicking the button, the smoothing parameters should be set to suggested values
97-
assert cvars["ROF_OCN_MAPPING_RMAX"].value is not None, "ROF_OCN_MAPPING_RMAX should have been set to a suggested value"
98-
assert cvars["ROF_OCN_MAPPING_FOLD"].value is not None, "ROF_OCN_MAPPING_FOLD should have been set to a suggested value"
99-
100-
# Change mind and use the standard map instead
10192
# *Click* "Use Standard Map" button
10293
runoffMappingGenerator = Stage.active()._widget._supplementary_widgets[0]
10394
runoffMappingGenerator._btn_use_standard.click()

0 commit comments

Comments
 (0)