mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 10:34:09 +01:00
update test to run with python 3.5.2
This commit is contained in:
parent
0bdc621d99
commit
28d18b7c64
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')
|
||||
i.evaluate_template.side_effect = lambda pl, _: pl.replace('$title', 'ta:ga:da')
|
||||
|
||||
i.evaluate_template.side_effect = lambda pl, _: pl.replace(b'$title', b'ta:ga:da').decode()
|
||||
|
||||
lib = Mock()
|
||||
lib.replacements = CHAR_REPLACE
|
||||
lib.items.return_value = [i]
|
||||
|
|
|
|||
Loading…
Reference in a new issue