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"