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

Method test_extra_forbidden

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

Source from the content-addressed store, hash-verified

96 self.assertNotEqual(a.node_id, b.node_id)
97
98 def test_extra_forbidden(self):
99 with self.assertRaises(ValidationError):
100 TreeNode(title="t", summary="s", garbage=1) # type: ignore[call-arg]
101
102 def test_frozen(self):
103 n = TreeNode(title="t", summary="s")

Callers

nothing calls this directly

Calls 1

TreeNodeClass · 0.90

Tested by

no test coverage detected