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

Method test_minimal

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

Source from the content-addressed store, hash-verified

49
50class SourceRefTests(unittest.TestCase):
51 def test_minimal(self):
52 s = SourceRef(kind="arxiv", uri="arxiv:2604.12345")
53 self.assertEqual(s.kind, "arxiv")
54 self.assertEqual(s.uri, "arxiv:2604.12345")
55 self.assertIsNone(s.fetched_at)
56 self.assertIsNone(s.content_hash)
57
58 def test_kind_enum_enforced(self):
59 with self.assertRaises(ValidationError):

Callers

nothing calls this directly

Calls 1

SourceRefClass · 0.90

Tested by

no test coverage detected