feat: Implement main playlist restrictions; add internal method for sound addition and update tests
Some checks failed
Backend CI / test (push) Has been cancelled
Backend CI / lint (push) Has been cancelled

This commit is contained in:
JSC
2025-08-16 00:51:38 +02:00
parent 4cec3b9d18
commit a109a88eed
4 changed files with 155 additions and 55 deletions

View File

@@ -463,7 +463,7 @@ class TestPlaylistEndpoints:
f"/api/v1/playlists/{main_playlist_id}",
)
assert response.status_code == 400
assert response.status_code == 403
assert "cannot be deleted" in response.json()["detail"]
@pytest.mark.asyncio