mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 17:28:12 +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
|
@ -290,6 +290,7 @@ def test_rss_item_serializer(factories):
|
|||
track__description=description,
|
||||
track__disc_number=4,
|
||||
track__position=42,
|
||||
track__with_cover=True,
|
||||
)
|
||||
setattr(
|
||||
upload.track,
|
||||
|
@ -339,6 +340,7 @@ def test_rss_channel_serializer(factories):
|
|||
artist__set_tags=["pop", "rock"],
|
||||
artist__description=description,
|
||||
metadata=metadata,
|
||||
artist__with_cover=True,
|
||||
)
|
||||
setattr(
|
||||
channel.artist,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue