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

Method test_default_node_id_unique

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

Source from the content-addressed store, hash-verified

91 self.assertIsInstance(n.node_id, UUID)
92
93 def test_default_node_id_unique(self):
94 a = TreeNode(title="t", summary="s")
95 b = TreeNode(title="t", summary="s")
96 self.assertNotEqual(a.node_id, b.node_id)
97
98 def test_extra_forbidden(self):
99 with self.assertRaises(ValidationError):

Callers

nothing calls this directly

Calls 1

TreeNodeClass · 0.90

Tested by

no test coverage detected