Skip to content

Commit

Permalink
[1KB2] Correction test: add of fake path to FSL.
Browse files Browse the repository at this point in the history
  • Loading branch information
elodiegermani1 committed Jul 21, 2023
1 parent f554a18 commit 736d2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pipelines/test_team_1KB2.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ class TestPipelinesTeam1KB2:

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

pipeline = PipelineTeam1KB2()

Expand Down

0 comments on commit 736d2ff

Please sign in to comment.