lastgenre: Fix test_pretend_option

only one arg is passed to the info log anymore.
This commit is contained in:
J0J0 Todos 2025-09-21 08:07:49 +02:00 committed by Šarūnas Nejus
parent 1acec39525
commit d617e67199
No known key found for this signature in database

View file

@ -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)