mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
lastgenre: Fix test_get_genre loading whitelist
- The default whitelist files were not loaded properly (at least in local test environments, not sure about CI yet...anyway...)
This commit is contained in:
parent
fa8b5d7495
commit
f85ba7ab3b
1 changed files with 1 additions and 0 deletions
|
|
@ -537,6 +537,7 @@ def test_get_genre(config_values, item_genre, mock_genres, expected_result):
|
|||
plugin = lastgenre.LastGenrePlugin()
|
||||
# Configure
|
||||
plugin.config.set(config_values)
|
||||
plugin.setup() # Loads default whitelist and canonicalization tree
|
||||
item = _common.item()
|
||||
item.genre = item_genre
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue