示例#1
0
    def test_get_default_config(self):
        ext = Extension()

        config = ext.get_default_config()

        self.assertIn('[plex]', config)
        self.assertIn('enabled = true', config)
示例#2
0
def test_get_default_config():
    ext = Extension()

    config = ext.get_default_config()

    assert '[mopidy_plex]' in config
    assert 'enabled = true' in config
示例#3
0
    def test_get_config_schema(self):
        ext = Extension()

        schema = ext.get_config_schema()
def test_get_config_schema():
    ext = Extension()

    schema = ext.get_config_schema()