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 5a32ce5 commit b2f1830Copy full SHA for b2f1830
pydra/tasks/mrtrix3/tests/test_utils.py
@@ -0,0 +1,17 @@
1
+import pytest
2
+from pydra.tasks.mrtrix3.utils import MRConvert
3
+from medimages4tests.dicom.mri.dwi.siemens.skyra.syngo_d13c import sample_image
4
+
5
6
+@pytest.fixture
7
+def dicom_dataset():
8
+ return sample_image()
9
10
11
+def test_mrconvert(dicom_dataset):
12
13
+ task = MRConvert(in_file=dicom_dataset, out_file="test.nii.gz")
14
15
+ result = task()
16
17
+ assert result.output.out_file.exists()
setup.cfg
@@ -44,6 +44,7 @@ test =
44
pytest-env
45
pytest-xdist
46
pytest-rerunfailures
47
+ medimages4tests
48
codecov
49
tests =
50
%(test)s
0 commit comments