mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 01:59:55 +02:00
CLI for importing files with user libraries
This commit is contained in:
parent
616f459eb7
commit
3e49b2057a
9 changed files with 187 additions and 139 deletions
|
@ -255,7 +255,7 @@ def test_manage_upload_action_relaunch_import(factories, mocker):
|
|||
for obj in to_relaunch:
|
||||
obj.refresh_from_db()
|
||||
assert obj.import_status == "pending"
|
||||
m.assert_any_call(tasks.import_upload.delay, upload_id=obj.pk)
|
||||
m.assert_any_call(tasks.process_upload.delay, upload_id=obj.pk)
|
||||
|
||||
finished.refresh_from_db()
|
||||
assert finished.import_status == "finished"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue