mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 22:25:39 +00:00
30 lines
649 B
Python
30 lines
649 B
Python
# from __future__ import unicode_literals
|
|
|
|
import unittest
|
|
|
|
from mopidy_touchscreen import Extension
|
|
|
|
|
|
# ,touch_screen as frontend_lib
|
|
|
|
|
|
class ExtensionTest(unittest.TestCase):
|
|
|
|
def test_get_default_config(self):
|
|
ext = Extension()
|
|
|
|
config = ext.get_default_config()
|
|
|
|
self.assertIn('[touchscreen]', config)
|
|
self.assertIn('enabled = true', config)
|
|
|
|
def test_get_config_schema(self):
|
|
pass
|
|
# ext = Extension()
|
|
|
|
# schema = ext.get_config_schema()
|
|
|
|
# TODO Test the content of your config schema
|
|
# self.assertIn('username', schema)
|
|
# self.assertIn('password', schema)
|