From: Chris Fulljames Date: Sun, 13 Jul 2025 18:42:22 +0000 (-0400) Subject: Fix online tests X-Git-Url: https://littlesong.place/gitweb/?a=commitdiff_plain;h=02e22eb73d634e70de44bddfbd09d8bd9a9fbd22;p=littlesongplace.git Fix online tests --- diff --git a/test/test_online.py b/test/test_online.py index 9672f74..2683238 100644 --- a/test/test_online.py +++ b/test/test_online.py @@ -10,7 +10,7 @@ import pytest TEST_DATA = Path(__file__).parent / "data" def _get_song_list_from_page(page_contents): - matches = re.findall('data-song="(.*)">', page_contents) + matches = re.findall(r'data-song="(.*)"\s+>', page_contents) return [json.loads(html.unescape(m)) for m in matches] def test_upload_and_delete_song(session):