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()