From d652c88eec23a4fcb54ce109f0b2bdf7eab66f9b Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Fri, 20 Aug 2021 16:05:47 +0100 Subject: [PATCH] TEST: pass wildcard to imglob --- tests/test_scripts/test_imglob.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_scripts/test_imglob.py b/tests/test_scripts/test_imglob.py index 5ce2c2bc5..d1b261544 100644 --- a/tests/test_scripts/test_imglob.py +++ b/tests/test_scripts/test_imglob.py @@ -100,6 +100,9 @@ def test_imglob_shouldPass2(): ('file1.hdr file1.img file2.nii', 'file1 file2', 'primary', 'file1.hdr file2.nii'), ('file1.hdr file1.img file2.nii', 'file1 file2', 'all', 'file1.hdr file1.img file2.nii'), + # muiltiple files, given wildcard + ('file1.nii file2.nii', 'file*', 'prefix', 'file1 file2'), + # no file ('file.nii', 'bag', 'prefix', ''), ('file.nii', 'bag', 'primary', ''), -- GitLab