From 770a23913812e19df3a2be0dd261431f41a11998 Mon Sep 17 00:00:00 2001 From: trav Date: Sat, 17 Oct 2026 00:42:58 -0700 Subject: [PATCH] v0.61.1: update the art-border test to the uniform grey line v0.61.0 shipped with this test still pinning the old two-tone edge. --- lintunes/__init__.py | 2 +- tests/test_round82.py | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lintunes/__init__.py b/lintunes/__init__.py index 29e5e0a..a3d5c81 100644 --- a/lintunes/__init__.py +++ b/lintunes/__init__.py @@ -1,3 +1,3 @@ """LinTunes — iTunes-style music library manager and player for Linux.""" -__version__ = "0.61.0" +__version__ = "0.61.1" diff --git a/tests/test_round82.py b/tests/test_round82.py index fe07152..ddfbfef 100644 --- a/tests/test_round82.py +++ b/tests/test_round82.py @@ -26,11 +26,14 @@ def test_art_keeps_the_empty_panels_place_and_border(qapp, tmp_path): assert art.height() == art.width() + NO_ART_GAP image = art.grab().toImage() middle = image.width() // 2 - # the gap and the panel's darker top edge, unchanged - for y in range(NO_ART_GAP + 1): + # the gap unchanged; with art the outline is the lists' uniform grey + # (Round 92), the cover right inside it + from lintunes.gui.sidebar import frame_color + for y in range(NO_ART_GAP): assert image.pixelColor(middle, y) == empty.pixelColor(middle, y) - # ...and the cover just inside it - assert image.pixelColor(middle, NO_ART_GAP + 2) == QColor("white") + assert image.pixelColor(middle, NO_ART_GAP).name() == frame_color( + art.palette()).name() + assert image.pixelColor(middle, NO_ART_GAP + 1) == QColor("white") assert image.pixelColor(middle, image.height() // 2) == QColor("white") window.close()