MCPcopy
hub / github.com/hankcs/HanLP / test_init

Method test_init

tests/test_config_tracker.py:12–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10
11class TestConfigTracker(unittest.TestCase):
12 def test_init(self):
13 obj = MyClass()
14 self.assertEqual(obj.config.get('i_need_this', None), 'yes')
15
16
17if __name__ == '__main__':

Callers

nothing calls this directly

Calls 2

MyClassClass · 0.85
getMethod · 0.80

Tested by

no test coverage detected