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

Method test_minimal

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

Source from the content-addressed store, hash-verified

24
25class CitationTests(unittest.TestCase):
26 def test_minimal(self):
27 cit = Citation(source_id="arxiv:2604.12345")
28 self.assertEqual(cit.source_id, "arxiv:2604.12345")
29 self.assertIsNone(cit.page)
30 self.assertIsNone(cit.quote)
31 self.assertIsNone(cit.tree_id)
32 self.assertIsNone(cit.node_id)
33
34 def test_quote_max_length(self):
35 with self.assertRaises(ValidationError):

Callers

nothing calls this directly

Calls 1

CitationClass · 0.90

Tested by

no test coverage detected