mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
reduced line length
This commit is contained in:
parent
0a88338f8b
commit
58fe63764e
1 changed files with 2 additions and 2 deletions
|
|
@ -150,8 +150,8 @@ class SmartPlaylistTest(unittest.TestCase):
|
|||
spl = SmartPlaylistPlugin()
|
||||
|
||||
i = Mock(path=b'/tagada.mp3')
|
||||
title_replacer = lambda pl, _: pl.replace(b'$title', b'ta:ga:da').decode()
|
||||
i.evaluate_template.side_effect = title_replacer
|
||||
i.evaluate_template.side_effect = \
|
||||
lambda pl, _: pl.replace(b'$title', b'ta:ga:da').decode()
|
||||
|
||||
lib = Mock()
|
||||
lib.replacements = CHAR_REPLACE
|
||||
|
|
|
|||
Loading…
Reference in a new issue