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 7a33fb9 commit dfb1173Copy full SHA for dfb1173
tests/test_heuristics.py
@@ -24,12 +24,17 @@
24
25
# this will fail if not in project's root directory
26
def test_smoke_convertall(tmpdir):
27
- runner(
28
- ("-f convertall -c dcm2niix -o %s -b --datalad "
29
- "-s fmap_acq-3mm -d %s/{subject}/*"
30
- % (tmpdir, TESTS_DATA_PATH)
31
- ).split(' ')
32
- )
+ args = ("-c dcm2niix -o %s -b --datalad "
+ "-s fmap_acq-3mm -d %s/{subject}/*"
+ % (tmpdir, TESTS_DATA_PATH)
+ ).split(' ')
+
+ # complain if no heurisitic
33
+ with pytest.raises(RuntimeError):
34
+ runner(args)
35
36
+ args.extend(['-f', 'convertall'])
37
38
39
40
@pytest.mark.parametrize('heuristic', ['reproin', 'convertall'])
0 commit comments