Add stop tests
This commit is contained in:
parent
73c6e09bc3
commit
399ce26a63
@ -402,10 +402,15 @@ class BasePlaybackControllerTest(object):
|
||||
self.assertEqual(self.playback.state, self.playback.STOPPED)
|
||||
|
||||
def test_stop_when_playing(self):
|
||||
raise NotImplementedError
|
||||
self.playback.play()
|
||||
self.playback.stop()
|
||||
self.assertEqual(self.playback.state, self.playback.STOPPED)
|
||||
|
||||
def test_stop_when_paused(self):
|
||||
raise NotImplementedError
|
||||
self.playback.play()
|
||||
self.playback.paused()
|
||||
self.playback.stop()
|
||||
self.assertEqual(self.playback.state, self.playback.STOPPED)
|
||||
|
||||
def test_time_position_when_stopped(self):
|
||||
raise NotImplementedError
|
||||
|
||||
Loading…
Reference in New Issue
Block a user