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

Method test_parameter_int

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

Source from the content-addressed store, hash-verified

771 self.assertEqual('ls -p1', secure_command)
772
773 def test_parameter_int(self):
774 parameter = create_script_param_config(
775 'p1', param='-p1', type='int')
776
777 secure_command = self.get_secure_command([parameter], {'p1': 123})
778
779 self.assertEqual('ls -p1 123', secure_command)
780
781 def test_secure_parameter_int(self):
782 parameter = create_script_param_config(

Callers

nothing calls this directly

Calls 2

get_secure_commandMethod · 0.95

Tested by

no test coverage detected