MCPcopy Create free account
hub / github.com/LLMQuant/quant-mind / test_minimal

Method test_minimal

tests/knowledge/test_tree.py:85–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83
84class TreeNodeTests(unittest.TestCase):
85 def test_minimal(self):
86 n = TreeNode(title="t", summary="s")
87 self.assertEqual(n.title, "t")
88 self.assertEqual(n.summary, "s")
89 self.assertIsNone(n.content)
90 self.assertEqual(n.children_ids, [])
91 self.assertIsInstance(n.node_id, UUID)
92
93 def test_default_node_id_unique(self):
94 a = TreeNode(title="t", summary="s")

Callers

nothing calls this directly

Calls 1

TreeNodeClass · 0.90

Tested by

no test coverage detected