Skip to content

Commit 92d7b28

Browse files
effigiesoesteban
authored andcommitted
TEST: Skip tests when layouts are absent
1 parent e60df9a commit 92d7b28

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
@@ -47,7 +47,9 @@ def outdir():
4747

4848
@pytest.fixture
4949
def bids_layouts():
50-
return layouts
50+
if layouts:
51+
return layouts
52+
pytest.skip()
5153

5254

5355
@pytest.fixture

0 commit comments

Comments
 (0)