mirror of
https://github.com/beetbox/beets.git
synced 2026-03-27 15:54:22 +01:00
chore(test): format with poe
This commit is contained in:
parent
ad2529adb0
commit
760271c456
1 changed files with 3 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue