Add test_resume_continues_from_right_position
This commit is contained in:
parent
ba7a836d8b
commit
a3e62a529f
@ -511,8 +511,13 @@ class BasePlaybackControllerTest(object):
|
|||||||
def test_resume_return_value(self):
|
def test_resume_return_value(self):
|
||||||
raise NotImplementedError # design decision needed
|
raise NotImplementedError # design decision needed
|
||||||
|
|
||||||
|
@populate_playlist
|
||||||
def test_resume_continues_from_right_position(self):
|
def test_resume_continues_from_right_position(self):
|
||||||
raise NotImplementedError
|
self.playback.play()
|
||||||
|
time.sleep(0.1)
|
||||||
|
self.playback.pause()
|
||||||
|
self.playback.resume()
|
||||||
|
self.assertNotEqual(self.playback.time_position, 0)
|
||||||
|
|
||||||
def test_seek_when_stopped(self):
|
def test_seek_when_stopped(self):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user