From 985906b5a4cd87e4d3ab0b9b472a2761a32e0773 Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Sun, 13 Apr 2025 16:37:08 -0400 Subject: [PATCH] Fix jam song submit tests --- test/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/utils.py b/test/utils.py index f4d1629..7fc26be 100644 --- a/test/utils.py +++ b/test/utils.py @@ -75,6 +75,8 @@ def upload_song( assert response.headers["Location"] == "None" elif songid: assert response.headers["Location"] == f"/song/{userid}/{songid}?action=view" + elif eventid: + assert response.headers["Location"] == f"/jams/1/events/{eventid}" else: assert response.headers["Location"] == f"/users/{user}" -- 2.39.5