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

Method test_single_value

src/tests/model_helper_test.py:21–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 self.assertEqual(list_value, [1, 2, 3])
20
21 def test_single_value(self):
22 values_dict = {'list_key': 'hello'}
23 list_value = read_list(values_dict, 'list_key')
24 self.assertEqual(list_value, ['hello'])
25
26 def test_empty_single_value(self):
27 values_dict = {'list_key': ''}

Callers

nothing calls this directly

Calls 1

read_listFunction · 0.90

Tested by

no test coverage detected