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
|
|
@ -36,8 +36,6 @@ def test_can_validate_config(logged_in_api_client, factories):
|
|||
"count": candidates.count(),
|
||||
"sample": TrackSerializer(candidates, many=True).data,
|
||||
}
|
||||
for s in expected["sample"]:
|
||||
s["artist"].pop("cover")
|
||||
|
||||
assert payload["filters"][0]["candidates"] == expected
|
||||
assert payload["filters"][0]["errors"] == []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue