Add stop when stopped test

This commit is contained in:
Thomas Adamcik 2010-02-14 15:25:46 +01:00
parent 4c4b615538
commit 73c6e09bc3

View File

@ -398,7 +398,8 @@ class BasePlaybackControllerTest(object):
raise NotImplementedError
def test_stop_when_stopped(self):
raise NotImplementedError
self.playback.stop()
self.assertEqual(self.playback.state, self.playback.STOPPED)
def test_stop_when_playing(self):
raise NotImplementedError