(self)
| 20 | """Python-side parsing must match the C++ `parse_lnk_with_metadata`.""" |
| 21 | |
| 22 | def test_plain_url(self) -> None: |
| 23 | entry = _parse_lnk_content("https://example.com/a.mp3\n") |
| 24 | assert entry is not None |
| 25 | self.assertEqual(entry.url, "https://example.com/a.mp3") |
| 26 | self.assertIsNone(entry.sha256) |
| 27 | self.assertIsNone(entry.fallback) |
| 28 | |
| 29 | def test_comment_and_blank_lines_skipped(self) -> None: |
| 30 | content = ( |
nothing calls this directly
no test coverage detected