From eb6bd422643b94ca058365346910de8d9378ac06 Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Sun, 13 Jul 2025 14:39:13 -0400 Subject: [PATCH] Fix song list tests --- test/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/utils.py b/test/utils.py index 7fc26be..dadd464 100644 --- a/test/utils.py +++ b/test/utils.py @@ -85,6 +85,8 @@ def upload_song( def get_song_list_from_page(client, url): response = client.get(url) - matches = re.findall('data-song="(.*)">', response.data.decode()) + print(response.data.decode()) + matches = re.findall(r'data-song="(.*)"\s*>', response.data.decode()) + print(matches) return [json.loads(html.unescape(m)) for m in matches] -- 2.39.5