mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 03:49:24 +02:00
See #223: api for listing/managing library files
This commit is contained in:
parent
2569f136b7
commit
c7782693bc
10 changed files with 213 additions and 0 deletions
|
@ -117,6 +117,11 @@ class ImportJobFactory(factory.django.DjangoModelFactory):
|
|||
status='finished',
|
||||
audio_file=None,
|
||||
)
|
||||
with_audio_file = factory.Trait(
|
||||
status='finished',
|
||||
audio_file=factory.django.FileField(
|
||||
from_path=os.path.join(SAMPLES_PATH, 'test.ogg')),
|
||||
)
|
||||
|
||||
|
||||
@registry.register(name='music.FileImportJob')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue