Skip to content

Commit ad87407

Browse files
author
Miguel de la Varga
committed
[TEST] Skip tests if path to data is not set
1 parent 13c2ccf commit ad87407

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/test_modules/test_pile/test_stratigraphic_pile.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515
import gempy_viewer as gpv
1616

1717

18-
# @pytest.mark.skip(reason="Not implemented yet")
18+
# Check if PATH_TO_SPREMBERG_STRATIGRAPHY is set if not skip the test
19+
@pytest.mark.skipif(
20+
os.getenv("PATH_TO_SPREMBERG_STRATIGRAPHY") is None,
21+
reason="PATH_TO_SPREMBERG_STRATIGRAPHY is not set"
22+
)
23+
1924
class TestStratigraphicPile:
2025
@pytest.fixture(autouse=True)
2126
def borehole_set(self):

0 commit comments

Comments
 (0)