Add test that ensures that initial state is stoped

This commit is contained in:
Thomas Adamcik 2010-02-13 22:23:28 +01:00
parent 7c2accf2bc
commit f3d7b54382

View File

@ -165,6 +165,10 @@ class BasePlaybackControllerTest(object):
def setUp(self):
self.backend = self.backend_class()
self.playback = self.backend.playback
def test_initial_state_is_stopped(self):
self.assertEqual(self.playback.state, self.playback.STOPPED)
def test_play_with_empty_playlist(self):
playback = self.backend.playback