mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
lastgenre: Fix test_pretend_option
only one arg is passed to the info log anymore.
This commit is contained in:
parent
1acec39525
commit
d617e67199
1 changed files with 2 additions and 1 deletions
|
|
@ -158,7 +158,8 @@ class LastGenrePluginTest(BeetsTestCase):
|
|||
mock_get_genre.assert_called_once()
|
||||
|
||||
assert any(
|
||||
call.args[1] == "Pretend: " for call in log_info.call_args_list
|
||||
call.args[0].startswith("Pretend:")
|
||||
for call in log_info.call_args_list
|
||||
)
|
||||
|
||||
# Verify that try_write was never called (file operations skipped)
|
||||
|
|
|
|||
Loading…
Reference in a new issue