Skip to content

Commit c0a9f78

Browse files
committed
restore test_icon sanity check fixture
1 parent 8193135 commit c0a9f78

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
"""Sanity checks for ICON availability.
2+
3+
This test verifies that the ICON environment is properly set up before running
4+
more expensive integration tests. Useful for HPC runners where ICON needs to be
5+
available.
6+
"""
7+
8+
import pytest
9+
10+
11+
@pytest.mark.requires_icon
12+
@pytest.mark.usefixtures("icon_filepath_executable", "icon_grid_path")
13+
def test_icon():
14+
"""Verify ICON executable and test data are available.
15+
16+
This test checks:
17+
- ICON executable can be found (via icon_filepath_executable fixture)
18+
- ICON grid test data can be downloaded (via icon_grid_path fixture)
19+
20+
The actual checks happen in the fixtures - if either fails, this test will fail.
21+
"""
22+
# Test is performed by fixtures
23+
pass

0 commit comments

Comments
 (0)