Resolve "Tagging artists/albums genres when importing music files"
This commit is contained in:
parent
7b0db234e2
commit
aea8e4fc59
12 changed files with 333 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import pytest
|
|||
from click.testing import CliRunner
|
||||
|
||||
from funkwhale_api.cli import main
|
||||
from funkwhale_api.cli import library
|
||||
from funkwhale_api.cli import users
|
||||
|
||||
|
||||
|
|
@ -102,6 +103,16 @@ from funkwhale_api.cli import users
|
|||
)
|
||||
],
|
||||
),
|
||||
(
|
||||
("albums", "add-tags-from-tracks"),
|
||||
tuple(),
|
||||
[(library, "handler_add_tags_from_tracks", {"albums": True})],
|
||||
),
|
||||
(
|
||||
("artists", "add-tags-from-tracks"),
|
||||
tuple(),
|
||||
[(library, "handler_add_tags_from_tracks", {"artists": True})],
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_cli(cmd, args, handlers, mocker):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue