Fix oversight in test_play_when_paused

This commit is contained in:
Thomas Adamcik 2010-04-06 22:09:16 +02:00
parent 98a545d9e5
commit 4ff5c578ba

View File

@ -251,9 +251,11 @@ class BasePlaybackControllerTest(object):
@populate_playlist
def test_play_when_paused(self):
self.playback.play()
track = self.playback.current_track
self.playback.pause()
self.playback.play()
self.assertEqual(self.playback.state, self.playback.PLAYING)
self.assertEqual(track, self.playback.current_track)
@populate_playlist
def test_play_sets_current_track(self):