From 340b24e91012c86e3e61e1d3b67a23bdcabfcec9 Mon Sep 17 00:00:00 2001 From: andre Date: Mon, 20 Jul 2020 23:40:54 -0700 Subject: [PATCH] Fixed failing unit test --- tests/adapter_tests/subsonic_adapter_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/adapter_tests/subsonic_adapter_tests.py b/tests/adapter_tests/subsonic_adapter_tests.py index 036adc8..2cd3e87 100644 --- a/tests/adapter_tests/subsonic_adapter_tests.py +++ b/tests/adapter_tests/subsonic_adapter_tests.py @@ -139,7 +139,7 @@ def test_migrate_configuration_populate_salt_auth(): ) SubsonicAdapter.migrate_configuration(config) assert "salt_auth" in config - assert not config["salt_auth"] + assert config["salt_auth"] def test_migrate_configuration_salt_auth_present(): @@ -147,11 +147,11 @@ def test_migrate_configuration_salt_auth_present(): server_address="https://subsonic.example.com", username="test", verify_cert=True, - salt_auth=True, + salt_auth=False, ) SubsonicAdapter.migrate_configuration(config) assert "salt_auth" in config - assert config["salt_auth"] + assert not config["salt_auth"] def test_make_url(adapter: SubsonicAdapter):