chore(test): format with poe

This commit is contained in:
Pierre Ayoub 2025-03-22 10:38:36 +01:00 committed by Šarūnas Nejus
parent ad2529adb0
commit 760271c456

View file

@ -465,7 +465,9 @@ class SmartPlaylistTest(BeetsTestCase):
type(i).title = PropertyMock(return_value="fake title")
type(i).length = PropertyMock(return_value=300.123)
# Set a path which is not equal to the one returned by `item.destination`.
type(i).path = PropertyMock(return_value=b"/imported/path/with/dont/move/tagada.mp3")
type(i).path = PropertyMock(
return_value=b"/imported/path/with/dont/move/tagada.mp3"
)
# Set a path which would be equal to the one returned by `item.destination`.
type(i).destination = PropertyMock(return_value=lambda: b"/tagada.mp3")
i.evaluate_template.side_effect = lambda pl, _: pl.replace(