Skip to content

Commit 8c96e45

Browse files
effigiesoesteban
authored andcommitted
TEST: Skip tests when layouts are absent
1 parent 7d5c17d commit 8c96e45

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sdcflows/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def outdir():
4343

4444
@pytest.fixture
4545
def bids_layouts():
46-
return layouts
46+
if layouts:
47+
return layouts
48+
pytest.skip()
4749

4850

4951
@pytest.fixture

0 commit comments

Comments
 (0)