Skip to content

Commit cf66128

Browse files
committed
TEST: Skip tests when layouts are absent
1 parent 2b045eb commit cf66128

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
@@ -41,4 +41,6 @@ def output_path():
4141

4242
@pytest.fixture
4343
def bids_layouts():
44-
return layouts
44+
if layouts:
45+
return layouts
46+
pytest.skip()

0 commit comments

Comments
 (0)