From a8e2041de8fa418f142d0e1d10f664dfe0bdc677 Mon Sep 17 00:00:00 2001 From: sigma67 <16363825+sigma67@users.noreply.github.com> Date: Sat, 30 Aug 2025 21:30:19 +0200 Subject: [PATCH] fix flaky test (#810) --- tests/mixins/test_browsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mixins/test_browsing.py b/tests/mixins/test_browsing.py index 0c7b735..010d74a 100644 --- a/tests/mixins/test_browsing.py +++ b/tests/mixins/test_browsing.py @@ -103,7 +103,7 @@ class TestBrowsing: def test_get_album_browse_id_issue_470(self, yt): escaped_browse_id = yt.get_album_browse_id("OLAK5uy_nbMYyrfeg5ZgknoOsOGBL268hGxtcbnDM") - assert escaped_browse_id == "MPREb_pZhPA6GfQmN" + assert len(escaped_browse_id) == 17 def test_get_album_2024(self, yt): with open(Path(__file__).parent.parent / "data" / "2024_03_get_album.json", encoding="utf8") as f: