Exemple #1
0
def test_get_default_config():
    ext = Extension()

    config = ext.get_default_config()

    assert '[tidal]' in config
    assert 'enabled = true' in config
def test_get_default_config():
    ext = Extension()

    config = ext.get_default_config()

    assert '[tidal]' in config
    assert 'enabled = true' in config
Exemple #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
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