Skip to content

Commit 736d2ff

Browse files
[1KB2] Correction test: add of fake path to FSL.
1 parent f554a18 commit 736d2ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pipelines/test_team_1KB2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ class TestPipelinesTeam1KB2:
2424

2525
@staticmethod
2626
@mark.unit_test
27-
def test_create():
27+
def test_create(mocker): # Add mocker as argument
2828
""" Test the creation of a PipelineTeam1KB2 object """
2929
# Defines fake environment variable
30-
patch.dict(environ, {'FSLDIR': '/fake/path/to/fsl'})
30+
mocker.patch.dict(environ, {'FSLDIR': '/fake/path/to/fsl'})
3131

3232
pipeline = PipelineTeam1KB2()
3333

0 commit comments

Comments
 (0)