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

Method get_secure_command

src/tests/executor_test.py:789–792  ·  view source on GitHub ↗
(self, parameters, values)

Source from the content-addressed store, hash-verified

787 self.assertEqual('ls -p1 ******', secure_command)
788
789 def get_secure_command(self, parameters, values):
790 config = create_config_model('config_x', parameters=parameters, parameter_values=values)
791 executor = ScriptExecutor(config, test_utils.env_variables)
792 return executor.get_secure_command()
793
794
795class TestBuildEnvVariables(unittest.TestCase):

Calls 3

get_secure_commandMethod · 0.95
create_config_modelFunction · 0.90
ScriptExecutorClass · 0.90

Tested by

no test coverage detected