File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,9 @@ def test_playlist_update_dest_regen(self):
340340 type(i ).title = PropertyMock (return_value = "fake title" )
341341 type(i ).length = PropertyMock (return_value = 300.123 )
342342 # Set a path which is not equal to the one returned by `item.destination`.
343- type(i ).path = PropertyMock (return_value = b"/imported/path/with/dont/move/tagada.mp3" )
343+ type(i ).path = PropertyMock (
344+ return_value = b"/imported/path/with/dont/move/tagada.mp3"
345+ )
344346 # Set a path which would be equal to the one returned by `item.destination`.
345347 type(i ).destination = PropertyMock (return_value = lambda : b"/tagada.mp3" )
346348 i .evaluate_template .side_effect = lambda pl , _ : pl .replace (
@@ -414,6 +416,7 @@ def test_playlist_update_dest_regen(self):
414416 + b"http://beets:8337/files/imported/path/with/dont/move/tagada.mp3\n "
415417 )
416418
419+
417420class SmartPlaylistCLITest (PluginTestCase ):
418421 plugin = "smartplaylist"
419422
You can’t perform that action at this time.
0 commit comments