Fixed failing unit test

This commit is contained in:
andre
2020-07-20 23:40:54 -07:00
parent 7b3f839d34
commit 340b24e910

View File

@@ -139,7 +139,7 @@ def test_migrate_configuration_populate_salt_auth():
) )
SubsonicAdapter.migrate_configuration(config) SubsonicAdapter.migrate_configuration(config)
assert "salt_auth" in config assert "salt_auth" in config
assert not config["salt_auth"] assert config["salt_auth"]
def test_migrate_configuration_salt_auth_present(): def test_migrate_configuration_salt_auth_present():
@@ -147,11 +147,11 @@ def test_migrate_configuration_salt_auth_present():
server_address="https://subsonic.example.com", server_address="https://subsonic.example.com",
username="test", username="test",
verify_cert=True, verify_cert=True,
salt_auth=True, salt_auth=False,
) )
SubsonicAdapter.migrate_configuration(config) SubsonicAdapter.migrate_configuration(config)
assert "salt_auth" in config assert "salt_auth" in config
assert config["salt_auth"] assert not config["salt_auth"]
def test_make_url(adapter: SubsonicAdapter): def test_make_url(adapter: SubsonicAdapter):