(self)
| 35 | with self.assertRaises(ValidationError): |
| 36 | PaperSemanticCfg(min_summary_citations=1, min_summary_pages=2) |
| 37 | |
| 38 | |
| 39 | class PaperInputDiscriminatedTests(unittest.TestCase): |
| 40 | def setUp(self): |
| 41 | self.adapter = TypeAdapter(PaperInput) |
| 42 | |
| 43 | def test_arxiv_round_trip(self): |
| 44 | v = self.adapter.validate_python({"type": "arxiv", "id": "2604.12345"}) |
nothing calls this directly
no outgoing calls
no test coverage detected