From 58fe63764edcac47cd20d9afdc7d8ab40d7a2c73 Mon Sep 17 00:00:00 2001 From: michaelbub Date: Fri, 11 Nov 2016 22:34:46 +0100 Subject: [PATCH] reduced line length --- test/test_smartplaylist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_smartplaylist.py b/test/test_smartplaylist.py index 084e0694d..fa8658ad3 100644 --- a/test/test_smartplaylist.py +++ b/test/test_smartplaylist.py @@ -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