From cf8584c769e33a624ba691b4903b0586a1c7a344 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Sat, 1 May 2010 17:20:25 +0200 Subject: [PATCH] Rename some tests classes, ie. s/Backend// --- tests/backends/gstreamer_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/backends/gstreamer_test.py b/tests/backends/gstreamer_test.py index 604aa6f3..07e443b7 100644 --- a/tests/backends/gstreamer_test.py +++ b/tests/backends/gstreamer_test.py @@ -52,7 +52,7 @@ class GStreamerPlaybackControllerTest(BasePlaybackControllerTest, unittest.TestC self.assertEqual(self.playback.state, self.playback.PLAYING) -class GStreamerBackendStoredPlaylistsControllerTest(BaseStoredPlaylistsControllerTest, +class GStreamerStoredPlaylistsControllerTest(BaseStoredPlaylistsControllerTest, unittest.TestCase): backend_class = GStreamerBackend @@ -126,7 +126,7 @@ class GStreamerBackendStoredPlaylistsControllerTest(BaseStoredPlaylistsControlle raise SkipTest -class GStreamerBackendLibraryControllerTest(BaseLibraryControllerTest, +class GStreamerLibraryControllerTest(BaseLibraryControllerTest, unittest.TestCase): backend_class = GStreamerBackend @@ -136,12 +136,12 @@ class GStreamerBackendLibraryControllerTest(BaseLibraryControllerTest, self.original_music_folder = settings.MUSIC_FOLDER settings.TAG_CACHE = data_folder('library_tag_cache') settings.MUSIC_FOLDER = data_folder('') - super(GStreamerBackendLibraryControllerTest, self).setUp() + super(GStreamerLibraryControllerTest, self).setUp() def tearDown(self): settings.TAG_CACHE = self.original_tag_cache settings.MUSIC_FOLDER= self.original_music_folder - super(GStreamerBackendLibraryControllerTest, self).tearDown() + super(GStreamerLibraryControllerTest, self).tearDown() if __name__ == '__main__': unittest.main()