Test parsing valid SRCINFO from string.
(full_version: FullVersion, valid_srcinfo_content: str)
| 20 | |
| 21 | |
| 22 | def test_from_str_valid(full_version: FullVersion, valid_srcinfo_content: str) -> None: |
| 23 | """Test parsing valid SRCINFO from string.""" |
| 24 | result = source_info_from_str(valid_srcinfo_content) |
| 25 | assert type(result) is SourceInfoV1 |
| 26 | assert result.base.version == full_version |
| 27 | |
| 28 | |
| 29 | def test_from_str_with_schema( |
nothing calls this directly
no test coverage detected