mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 20:01:54 +02:00
Blacked the code
This commit is contained in:
parent
b6fc0051fa
commit
62ca3bd736
279 changed files with 8861 additions and 9527 deletions
|
@ -5,7 +5,7 @@ from funkwhale_api import downloader
|
|||
|
||||
def test_can_download_audio_from_youtube_url_to_vorbis(tmpdir):
|
||||
data = downloader.download(
|
||||
'https://www.youtube.com/watch?v=tPEE9ZwTmy0',
|
||||
target_directory=tmpdir)
|
||||
assert data['audio_file_path'] == os.path.join(tmpdir, 'tPEE9ZwTmy0.ogg')
|
||||
assert os.path.exists(data['audio_file_path'])
|
||||
"https://www.youtube.com/watch?v=tPEE9ZwTmy0", target_directory=tmpdir
|
||||
)
|
||||
assert data["audio_file_path"] == os.path.join(tmpdir, "tPEE9ZwTmy0.ogg")
|
||||
assert os.path.exists(data["audio_file_path"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue