mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 04:59:55 +02:00
Faster tests by not creating covers unless mandatory
This commit is contained in:
parent
48681c39db
commit
c9259c906b
22 changed files with 110 additions and 68 deletions
|
@ -29,8 +29,6 @@ def test_user_can_get_his_favorites(
|
|||
favorite, context={"request": request}
|
||||
).data
|
||||
]
|
||||
expected[0]["track"]["artist"].pop("cover")
|
||||
expected[0]["track"]["album"]["artist"].pop("cover")
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.data["results"] == expected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue