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

Method test_missing_value

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

Source from the content-addressed store, hash-verified

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')
828 name_param = create_parameter_model('name')
829 env_variables = _build_env_variables(
830 {'name': None, 'id': 918273},
831 [name_param, id_param],
832 123)
833
834 self.assertEqual({'PARAM_ID': '918273', 'EXECUTION_ID': '123'}, env_variables)
835
836 def test_list_value(self):
837 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