from __future__ import unicode_literals

from mopidy_{{ cookiecutter.ext_name }} import Extension, frontend as frontend_lib


def test_get_default_config(self):
    ext = Extension()

    config = ext.get_default_config()

    assert '[{{ cookiecutter.ext_name }}]' in config
    assert 'enabled = true' in config


def test_get_config_schema(self):
    ext = Extension()

    schema = ext.get_config_schema()

    # TODO Test the content of your config schema
    #assert 'username' in schema
    #assert 'password' in schema


# TODO Write more tests

from __future__ import unicode_literals

from mopidy_{{ cookiecutter.ext_name }} import Extension, frontend as frontend_lib


def test_get_default_config():
    ext = Extension()

    config = ext.get_default_config()

    assert '[{{ cookiecutter.ext_name }}]' in config
    assert 'enabled = true' in config


def test_get_config_schema():
    ext = Extension()

    schema = ext.get_config_schema()

    # TODO Test the content of your config schema
    #assert 'username' in schema
    #assert 'password' in schema


# TODO Write more tests

Remove no longer needed 'self' argument