MCPcopy Create free account
hub / github.com/SuperElastix/elastix / test_help

Method test_help

Testing/PythonTests/transformix_test.py:106–118  ·  view source on GitHub ↗

Tests --help

(self)

Source from the content-addressed store, hash-verified

104 )
105
106 def test_help(self) -> None:
107 """Tests --help"""
108
109 completed = subprocess.run(
110 [str(self.transformix_exe_file_path), "--help"],
111 capture_output=True,
112 check=True,
113 )
114 self.assertEqual(completed.stderr, b"")
115 self.assertTrue(
116 "transformix applies a transform on an input image and/or"
117 in completed.stdout.decode()
118 )
119
120 def test_version(self) -> None:
121 """Tests --version"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected