MCPcopy Create free account
hub / github.com/bugy/script-server / test_explicit_env_var

Method test_explicit_env_var

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

Source from the content-addressed store, hash-verified

868 self.assertEqual({'EXECUTION_ID': '123'}, env_variables)
869
870 def test_explicit_env_var(self):
871 name_param = create_parameter_model('name', env_var='My_Name')
872 env_variables = _build_env_variables({'name': 'UserX'}, [name_param], 123)
873
874 self.assertEqual({'My_Name': 'UserX', 'EXECUTION_ID': '123'}, env_variables)
875
876 def test_replace_characters(self):
877 name_param = create_parameter_model('Мой параметер 1!')

Callers

nothing calls this directly

Calls 2

create_parameter_modelFunction · 0.90
_build_env_variablesFunction · 0.90

Tested by

no test coverage detected