Fix BasePlaybackController with respect to test_random_until_end_of_playlist

This commit is contained in:
Thomas Adamcik 2010-04-07 01:46:21 +02:00
parent f67c041db0
commit 361d66727e

View File

@ -779,7 +779,8 @@ class BasePlaybackControllerTest(object):
@populate_playlist
def test_random_until_end_of_playlist(self):
self.playback.random = True
for track in self.tracks:
self.playback.play()
for track in self.tracks[1:]:
self.playback.next()
self.assertEqual(self.playback.next_track, None)