mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 13:02:47 +01:00
Fix lastgenre limit to count test
- No idea where a missing separator (which is default) could happen...just set it explicitely. - Since we now refactored fetch_genre to returning a list we can add mock multiple fetched gernes easier.
This commit is contained in:
parent
569ba73016
commit
dd3a74ca4d
1 changed files with 5 additions and 4 deletions
|
|
@ -351,22 +351,23 @@ class LastGenrePluginTest(BeetsTestCase):
|
|||
},
|
||||
("Blues\u0000Jazz", "keep + album"),
|
||||
),
|
||||
# 10 - limit a lot of results to just 3
|
||||
# 10 - limit a lot of results
|
||||
(
|
||||
{
|
||||
"force": True,
|
||||
"keep_existing": True,
|
||||
"source": "album",
|
||||
"whitelist": True,
|
||||
"count": 3,
|
||||
"count": 5,
|
||||
"canonical": False,
|
||||
"prefer_specific": False,
|
||||
"separator": ", ",
|
||||
},
|
||||
"original unknown, Blues, Rock, Folk, Metal",
|
||||
{
|
||||
"album": ["Jazz"],
|
||||
"album": ["Jazz", "Bebop", "Hardbop"],
|
||||
},
|
||||
("Blues, Rock, Metal", "keep + album"),
|
||||
("Blues, Rock, Metal, Jazz, Bebop", "keep + album"),
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue