This commit is contained in:
Brock Grassy 2025-11-28 11:26:24 -05:00
parent 1079b1300d
commit 44abfc902b
2 changed files with 9 additions and 3 deletions

View file

@ -54,7 +54,7 @@ Bug fixes:
endpoints. Previously, due to single-quotes (ie. string literal) in the SQL
query, the query eg. `GET /item/values/albumartist` would return the literal
"albumartist" instead of a list of unique album artists.
* :doc:`plugins/missing`: When running in missing album mode, allows users to specify
- :doc:`plugins/missing`: When running in missing album mode, allows users to specify
MusicBrainz release types that they want to show using the ``--release-type``
flag. The default behavior is also changed to just show releases of type
``album``. :bug:`2661`

View file

@ -22,7 +22,12 @@ import pytest
from beets.autotag.hooks import AlbumInfo, TrackInfo
from beets.library import Item
from beets.test.helper import PluginMixin, TestHelper, capture_log, capture_stdout
from beets.test.helper import (
PluginMixin,
TestHelper,
capture_log,
capture_stdout,
)
def mock_browse_release_groups(
@ -124,7 +129,8 @@ class TestMissingPlugin(PluginMixin, TestHelper):
self.run_command(*command)
# The log message includes the "missing:" prefix in current master
assert any(
f"track {self.album_items[-1].mb_trackid} in album album_id" in log
f"track {self.album_items[-1].mb_trackid} in album album_id"
in log
for log in logs
)