From f839391a59b7433b6a86c952764299267883e8e7 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sat, 13 Feb 2010 23:14:38 +0100 Subject: [PATCH] Add test_removing_track_that_does_not_exist --- tests/backends/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/backends/__init__.py b/tests/backends/__init__.py index 7d00d9cc..14a7b5b5 100644 --- a/tests/backends/__init__.py +++ b/tests/backends/__init__.py @@ -153,7 +153,10 @@ class BaseCurrentPlaylistControllerTest(object): @populate_playlist def test_removing_track_that_does_not_exist(self): - raise NotImplementedError + track = self.controller.playlist.tracks[0] + + self.controller.remove(track) + self.controller.remove(track) def test_removing_from_empty_playlist(self): raise NotImplementedError