Test deriving SourceInfoSchema from SRCINFO string content.
(valid_srcinfo_content: str)
| 21 | |
| 22 | |
| 23 | def test_derive_from_str(valid_srcinfo_content: str) -> None: |
| 24 | """Test deriving SourceInfoSchema from SRCINFO string content.""" |
| 25 | schema = SourceInfoSchema.derive_from_str(valid_srcinfo_content) |
| 26 | assert str(schema.version) == "1.0.0" |
| 27 | |
| 28 | |
| 29 | def test_derive_from_str_invalid() -> None: |
nothing calls this directly
no test coverage detected