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

Method test_invalid_values

src/tests/parameter_config_test.py:993–1001  ·  view source on GitHub ↗
(self, configured_type, configured_title, expected_regex)

Source from the content-addressed store, hash-verified

991 ('block', None, 'Invalid "type" value = block.*'),
992 ])
993 def test_invalid_values(self, configured_type, configured_title, expected_regex):
994 self.assertRaisesRegex(
995 InvalidValueException,
996 expected_regex,
997 create_parameter_model,
998 'param',
999 ui_separator_type=configured_type,
1000 ui_separator_title=configured_title
1001 )
1002
1003
1004class GetSortedParamConfig(unittest.TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected