MCPcopy Index your code
hub / github.com/bugy/script-server / test_parameter_no_value

Method test_parameter_no_value

src/tests/executor_test.py:736–742  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

734 self.assertEqual('ls -p1 ****** ****** ******', secure_command)
735
736 def test_parameter_no_value(self):
737 parameter = create_script_param_config(
738 'p1', param='-p1', no_value=True)
739
740 secure_command = self.get_secure_command([parameter], {'p1': True})
741
742 self.assertEqual('ls -p1', secure_command)
743
744 def test_parameter_multiselect_and_argument_per_value(self):
745 parameter = create_script_param_config(

Callers

nothing calls this directly

Calls 2

get_secure_commandMethod · 0.95

Tested by

no test coverage detected