Test parsing invalid JSON
(self)
| 159 | assert package_index.packages[0].name == "test" |
| 160 | |
| 161 | def test_parse_invalid_json(self) -> None: |
| 162 | """Test parsing invalid JSON""" |
| 163 | parser = PackageIndexParser() |
| 164 | |
| 165 | with pytest.raises(PackageParsingError): |
| 166 | parser.parse_package_index("invalid json") |
| 167 | |
| 168 | |
| 169 | class TestUtilityFunctions: |
nothing calls this directly
no test coverage detected