From 677c61f39867cea70eb5e786b81a639f5181faff Mon Sep 17 00:00:00 2001 From: Javier Domingo Cansino Date: Fri, 18 Oct 2013 16:12:38 +0200 Subject: [PATCH] tests: Rename local tests to describe that they are testing local providers and not core controllers --- tests/backends/local/library_test.py | 2 +- tests/backends/local/playback_test.py | 2 +- tests/backends/local/playlists_test.py | 2 +- tests/backends/local/tracklist_test.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/backends/local/library_test.py b/tests/backends/local/library_test.py index 8f988503..17a7f827 100644 --- a/tests/backends/local/library_test.py +++ b/tests/backends/local/library_test.py @@ -11,7 +11,7 @@ from mopidy.models import Track, Album, Artist from tests import path_to_data_dir -class LocalLibraryControllerTest(unittest.TestCase): +class LocalLibraryProviderTest(unittest.TestCase): artists = [Artist(name='artist1'), Artist(name='artist2'), Artist()] albums = [ diff --git a/tests/backends/local/playback_test.py b/tests/backends/local/playback_test.py index c37eb91d..5df86dd1 100644 --- a/tests/backends/local/playback_test.py +++ b/tests/backends/local/playback_test.py @@ -19,7 +19,7 @@ from tests.backends.local import generate_song, populate_tracklist # TODO Test 'playlist repeat', e.g. repeat=1,single=0 -class LocalPlaybackControllerTest(unittest.TestCase): +class LocalPlaybackProviderTest(unittest.TestCase): config = { 'local': { 'media_dir': path_to_data_dir(''), diff --git a/tests/backends/local/playlists_test.py b/tests/backends/local/playlists_test.py index 4975d8aa..a9f13974 100644 --- a/tests/backends/local/playlists_test.py +++ b/tests/backends/local/playlists_test.py @@ -15,7 +15,7 @@ from tests import path_to_data_dir from tests.backends.local import generate_song -class LocalPlaylistsControllerTest(unittest.TestCase): +class LocalPlaylistsProviderTest(unittest.TestCase): backend_class = actor.LocalBackend config = { 'local': { diff --git a/tests/backends/local/tracklist_test.py b/tests/backends/local/tracklist_test.py index 1993d246..a58bf5f6 100644 --- a/tests/backends/local/tracklist_test.py +++ b/tests/backends/local/tracklist_test.py @@ -14,7 +14,7 @@ from tests import path_to_data_dir from tests.backends.local import generate_song, populate_tracklist -class LocalTracklistControllerTest(unittest.TestCase): +class LocalTracklistProviderTest(unittest.TestCase): config = { 'local': { 'media_dir': path_to_data_dir(''),