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

Method test_kind_enum_enforced

tests/knowledge/test_base.py:58–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 self.assertIsNone(s.content_hash)
57
58 def test_kind_enum_enforced(self):
59 with self.assertRaises(ValidationError):
60 SourceRef(kind="ftp") # type: ignore[arg-type]
61
62 def test_extra_forbidden(self):
63 with self.assertRaises(ValidationError):

Callers

nothing calls this directly

Calls 1

SourceRefClass · 0.90

Tested by

no test coverage detected