Add extra assertion to test_clear_empty_playlist
This commit is contained in:
parent
2671bab2f1
commit
22bdcd8ba5
@ -74,6 +74,7 @@ class BaseCurrentPlaylistControllerTest(object):
|
|||||||
|
|
||||||
def test_clear_empty_playlist(self):
|
def test_clear_empty_playlist(self):
|
||||||
self.controller.clear()
|
self.controller.clear()
|
||||||
|
self.assertEqual(len(self.controller.playlist.tracks), 0)
|
||||||
|
|
||||||
@populate_playlist
|
@populate_playlist
|
||||||
def test_clear_when_playing(self):
|
def test_clear_when_playing(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user