file: Add tests
This commit is contained in:
parent
ee0f2f2a94
commit
fdb0b4a12b
0
tests/file/__init__.py
Normal file
0
tests/file/__init__.py
Normal file
18
tests/file/conftest.py
Normal file
18
tests/file/conftest.py
Normal file
@ -0,0 +1,18 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import pytest
|
||||
|
||||
from mopidy.file import library
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def file_config():
|
||||
return {
|
||||
'file': {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def file_library(file_config):
|
||||
return library.FileLibraryProvider(backend=None, config=file_config)
|
||||
1
tests/file/test_browse.py
Normal file
1
tests/file/test_browse.py
Normal file
@ -0,0 +1 @@
|
||||
from __future__ import unicode_literals
|
||||
1
tests/file/test_lookup.py
Normal file
1
tests/file/test_lookup.py
Normal file
@ -0,0 +1 @@
|
||||
from __future__ import unicode_literals
|
||||
Loading…
Reference in New Issue
Block a user