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

Method test_no_mapping

src/tests/parameter_config_test.py:1064–1067  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1062
1063class TestUiValueMapping(unittest.TestCase):
1064 def test_no_mapping(self):
1065 parameter_model = create_parameter_model(type='list', allowed_values=['abc', 'def', 'xyz'])
1066
1067 self.assertEqual(['abc', 'def', 'xyz'], parameter_model.get_ui_values())
1068
1069 def test_mapping(self):
1070 parameter_model = create_parameter_model(

Callers

nothing calls this directly

Calls 2

create_parameter_modelFunction · 0.90
get_ui_valuesMethod · 0.80

Tested by

no test coverage detected