Commit 81e0762d authored by Aryan Noshirvani's avatar Aryan Noshirvani

Surface response body on test_music_upload_success failure

Still 500ing in CI even with the pre-committed fixture from the last
commit, so the ffmpeg-encoding theory was wrong. Need to actually see
the error detail instead of guessing - the assertion only showed the
status code, not the response body.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCxXmJVvDFJVHTUi4QgNzi
parent e721d91c
......@@ -47,7 +47,7 @@ def test_music_upload_success(client, monkeypatch):
"/music/upload",
files={"file": ("raw_upload.mp3", io.BytesIO(_real_tiny_mp3_bytes()), "audio/mpeg")},
)
assert response.status_code == 200
assert response.status_code == 200, response.text
body = response.json()
assert body["status"] == "success"
assert body["metadata"]["title"] == "Fully Known Song"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment