Ejemplo n.º 1
0
def test_get_default_config():
    ext = Extension()

    config = ext.get_default_config()

    assert '[tidal]' in config
    assert 'enabled = true' in config
Ejemplo n.º 2
0
def test_get_default_config():
    ext = Extension()

    config = ext.get_default_config()

    assert '[tidal]' in config
    assert 'enabled = true' in config
Ejemplo n.º 3
0
def test_get_config_schema():
    ext = Extension()

    schema = ext.get_config_schema()

    # Test the content of your config schema
    assert 'token' in schema
    assert 'oauth' in schema
    assert 'quality' in schema
Ejemplo n.º 4
0
def test_get_config_schema():
    ext = Extension()

    schema = ext.get_config_schema()

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