diff --git a/tests/test_immv_imcp.py b/tests/test_immv_imcp.py index 34930a30184f361eec9b575e1fba5c511e4adb7e..92a30353ccda1a5d6c76a19aadcac947fea9c84b 100644 --- a/tests/test_immv_imcp.py +++ b/tests/test_immv_imcp.py @@ -16,6 +16,8 @@ import os import shutil import tempfile +import pytest + import nibabel as nib import fsl.utils.imcp as imcp @@ -389,6 +391,7 @@ def test_imcp_script_shouldPass(move=False): shutil.rmtree(outdir) +@pytest.mark.noroottest def test_imcp_script_shouldFail(move=False): # - len(srcs) > 1 and dest is not dir @@ -508,6 +511,7 @@ def test_immv_script_shouldPass(): test_imcp_script_shouldPass(move=True) +@pytest.mark.noroottest def test_immv_script_shouldFail(): test_imcp_script_shouldFail(move=True)