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

Method test_normal_text

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

Source from the content-addressed store, hash-verified

551
552class TestReadStrFromConfig(unittest.TestCase):
553 def test_normal_text(self):
554 value = read_str_from_config({'key1': 'xyz'}, 'key1')
555 self.assertEquals('xyz', value)
556
557 def test_none_value_no_default(self):
558 value = read_str_from_config({'key1': None}, 'key1')

Callers

nothing calls this directly

Calls 1

read_str_from_configFunction · 0.90

Tested by

no test coverage detected