File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 1616
1717from . import push_argv
1818
19+ all_tools = pytest .mark .parametrize (
20+ "tool" ,
21+ [
22+ "itkimage2segimage" ,
23+ "segimage2itkimage" ,
24+ "tid1500writer" ,
25+ "tid1500reader" ,
26+ "itkimage2paramap" ,
27+ "paramap2itkimage" ,
28+ ],
29+ )
30+
1931all_tools_version = pytest .mark .parametrize (
2032 "tool,expected_version" ,
2133 [
@@ -58,8 +70,8 @@ def test_package_script(tool, expected_version):
5870 assert output .splitlines ()[2 ].split (" " )[1 ] == f"version: { expected_version } "
5971
6072
61- @all_tools_version
62- def test_module (tool , expected_version ):
73+ @all_tools
74+ def test_module (tool ):
6375 func = getattr (dcmqi , tool )
6476 args = [f"{ tool } .py" , "--version" ]
6577 with push_argv (args ), pytest .raises (SystemExit ) as excinfo :
You can’t perform that action at this time.
0 commit comments