MCPcopy Create free account
hub / github.com/bugy/script-server / test_full_path_command

Method test_full_path_command

src/tests/process_utils_test.py:14–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12 self.assertEqual(command_split, ['python'])
13
14 def test_full_path_command(self):
15 file = test_utils.create_file('test.sh')
16
17 command_split = process_utils.split_command('test.sh', test_utils.temp_folder)
18
19 self.assertEqual(command_split, [os.path.abspath(file)])
20
21 def test_complex_command_linux(self):
22 test_utils.set_linux()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected