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

Method test_some_secure_value

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

Source from the content-addressed store, hash-verified

695 self.assertEqual('ls', secure_command)
696
697 def test_some_secure_value(self):
698 parameter = create_script_param_config('p1', param='-p1', secure=True)
699 secure_command = self.get_secure_command([parameter], {'p1': 'value'})
700
701 self.assertEqual('ls -p1 ******', secure_command)
702
703 def test_parameter_secure_value_and_same_unsecure(self):
704 p1 = create_script_param_config('p1', param='-p1', secure=True)

Callers

nothing calls this directly

Calls 2

get_secure_commandMethod · 0.95

Tested by

no test coverage detected