(self)
| 24 | |
| 25 | class 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): |