Import existing LinTunes project

Snapshot of the existing codebase before working through the TASKS.md
backlog. Real library data (data/) and the iTunes import fixture
(itunes-test-library/) are gitignored.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 21:12:01 -04:00
commit f6d35fa594
70 changed files with 8992 additions and 0 deletions

14
tests/test_round7.py Normal file
View File

@ -0,0 +1,14 @@
from lintunes.gui import drag_ghost
class TestDragIcon:
"""The cursor-following drag indicator is loaded from a customizable PNG
that ships next to the application icon (packaging/lintunes.png)."""
def test_default_png_ships_next_to_app_icon(self):
assert drag_ghost.ICON_PATH.name == "drag-icon.png"
assert drag_ghost.ICON_PATH.exists()
assert (drag_ghost.ICON_PATH.parent / "lintunes.png").exists()
def test_default_file_is_a_png(self):
assert drag_ghost.ICON_PATH.read_bytes()[:8] == b"\x89PNG\r\n\x1a\n"