Files
lintunes/tests/test_round7.py
Trav f6d35fa594 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>
2026-06-26 21:12:01 -04:00

15 lines
560 B
Python

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"