mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 05:29:23 +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
|
@ -321,7 +321,9 @@ def test_outbox_create_audio_channel(factories, mocker):
|
|||
|
||||
def test_inbox_create_audio(factories, mocker):
|
||||
activity = factories["federation.Activity"]()
|
||||
upload = factories["music.Upload"](bitrate=42, duration=55)
|
||||
upload = factories["music.Upload"](
|
||||
bitrate=42, duration=55, track__album__with_cover=True
|
||||
)
|
||||
payload = {
|
||||
"@context": jsonld.get_default_context(),
|
||||
"type": "Create",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue