Add test_previous_triggers_playback

This commit is contained in:
Thomas Adamcik 2010-02-14 16:23:56 +01:00
parent 50fe8c5cd2
commit e719956257

View File

@ -301,8 +301,13 @@ class BasePlaybackControllerTest(object):
self.playback.previous()
self.assertEqual(self.playback.current_track, tracks[0])
@populate_playlist
def test_previous_triggers_playback(self):
raise NotImplementedError
self.playback.play()
self.playback.next()
self.playback.stop()
self.playback.previous()
self.assertEqual(self.playback.state, self.playback.PLAYING)
def test_previous_at_start_of_playlist(self):
raise NotImplementedError