We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f554a18 commit 736d2ffCopy full SHA for 736d2ff
tests/pipelines/test_team_1KB2.py
@@ -24,10 +24,10 @@ class TestPipelinesTeam1KB2:
24
25
@staticmethod
26
@mark.unit_test
27
- def test_create():
+ def test_create(mocker): # Add mocker as argument
28
""" Test the creation of a PipelineTeam1KB2 object """
29
# Defines fake environment variable
30
- patch.dict(environ, {'FSLDIR': '/fake/path/to/fsl'})
+ mocker.patch.dict(environ, {'FSLDIR': '/fake/path/to/fsl'})
31
32
pipeline = PipelineTeam1KB2()
33
0 commit comments