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