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

Method test_missing_parameter

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

Source from the content-addressed store, hash-verified

815 env_variables)
816
817 def test_missing_parameter(self):
818 name_param = create_parameter_model('name')
819 env_variables = _build_env_variables(
820 {'name': 'UserX', 'id': 918273},
821 [name_param],
822 123)
823
824 self.assertEqual({'PARAM_NAME': 'UserX', 'EXECUTION_ID': '123'}, env_variables)
825
826 def test_missing_value(self):
827 id_param = create_parameter_model('id')

Callers

nothing calls this directly

Calls 2

create_parameter_modelFunction · 0.90
_build_env_variablesFunction · 0.90

Tested by

no test coverage detected