commit
9446e65b44
@ -11,7 +11,7 @@ from mopidy.models import Track, Album, Artist
|
|||||||
from tests import path_to_data_dir
|
from tests import path_to_data_dir
|
||||||
|
|
||||||
|
|
||||||
class LocalLibraryControllerTest(unittest.TestCase):
|
class LocalLibraryProviderTest(unittest.TestCase):
|
||||||
artists = [Artist(name='artist1'), Artist(name='artist2'), Artist()]
|
artists = [Artist(name='artist1'), Artist(name='artist2'), Artist()]
|
||||||
|
|
||||||
albums = [
|
albums = [
|
||||||
|
|||||||
@ -19,7 +19,7 @@ from tests.backends.local import generate_song, populate_tracklist
|
|||||||
# TODO Test 'playlist repeat', e.g. repeat=1,single=0
|
# TODO Test 'playlist repeat', e.g. repeat=1,single=0
|
||||||
|
|
||||||
|
|
||||||
class LocalPlaybackControllerTest(unittest.TestCase):
|
class LocalPlaybackProviderTest(unittest.TestCase):
|
||||||
config = {
|
config = {
|
||||||
'local': {
|
'local': {
|
||||||
'media_dir': path_to_data_dir(''),
|
'media_dir': path_to_data_dir(''),
|
||||||
|
|||||||
@ -15,7 +15,7 @@ from tests import path_to_data_dir
|
|||||||
from tests.backends.local import generate_song
|
from tests.backends.local import generate_song
|
||||||
|
|
||||||
|
|
||||||
class LocalPlaylistsControllerTest(unittest.TestCase):
|
class LocalPlaylistsProviderTest(unittest.TestCase):
|
||||||
backend_class = actor.LocalBackend
|
backend_class = actor.LocalBackend
|
||||||
config = {
|
config = {
|
||||||
'local': {
|
'local': {
|
||||||
|
|||||||
@ -14,7 +14,7 @@ from tests import path_to_data_dir
|
|||||||
from tests.backends.local import generate_song, populate_tracklist
|
from tests.backends.local import generate_song, populate_tracklist
|
||||||
|
|
||||||
|
|
||||||
class LocalTracklistControllerTest(unittest.TestCase):
|
class LocalTracklistProviderTest(unittest.TestCase):
|
||||||
config = {
|
config = {
|
||||||
'local': {
|
'local': {
|
||||||
'media_dir': path_to_data_dir(''),
|
'media_dir': path_to_data_dir(''),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user