diff options
| author | Warry <FunWarry@users.noreply.github.com> | 2025-12-03 11:41:18 +0100 |
|---|---|---|
| committer | Warry <FunWarry@users.noreply.github.com> | 2025-12-03 11:41:18 +0100 |
| commit | c1d40619aa2aa44f5d967af9b5f47d040d6dc7dd (patch) | |
| tree | ad05969f0bae4cfe68e3e5baf9ea6a8954fa626a /tests/test_hover_info.py | |
| parent | 85f7e33b28985afd62a99d64b3e7a6883d62b072 (diff) | |
| parent | e89be804fd8fdbee1638f0cdc055eb095206ef8c (diff) | |
| download | tidal-dl-ng-c1d40619aa2aa44f5d967af9b5f47d040d6dc7dd.tar.gz | |
Merge branch 'feature/json-downloaded' into fusion-refac-&-info
# Conflicts:
# .gitignore
# README.md
# tidal_dl_ng/gui.py
Diffstat (limited to 'tests/test_hover_info.py')
| -rw-r--r-- | tests/test_hover_info.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_hover_info.py b/tests/test_hover_info.py index 38ece63..a05ab3e 100644 --- a/tests/test_hover_info.py +++ b/tests/test_hover_info.py @@ -249,7 +249,8 @@ class TestInfoTabWidget: info_tab_widget._populate_track_details(mock_track) qt_app.processEvents() - assert info_tab_widget.lbl_title.text() == "Bohemian Rhapsody" + # The title is now a clickable link + assert "Bohemian Rhapsody" in info_tab_widget.lbl_title.text() assert info_tab_widget.lbl_version.text() == "2011 Remaster" assert info_tab_widget.lbl_duration.text() == "05:54" assert info_tab_widget.lbl_bpm.text() == "⏳ Loading..." @@ -266,7 +267,8 @@ class TestInfoTabWidget: info_tab_widget._populate_video_details(mock_video) qt_app.processEvents() - assert info_tab_widget.lbl_title.text() == "Thriller" + # The title is now a clickable link + assert "Thriller" in info_tab_widget.lbl_title.text() assert info_tab_widget.lbl_codec.text() == "1080p" def test_clear_display(self, info_tab_widget, qt_app): |
