From 51348c0dac96d4499035ac771d660f52e0c4006a Mon Sep 17 00:00:00 2001 From: "Hansen, Tony (th1395)" Date: Tue, 20 Jul 2021 22:05:23 +0000 Subject: onap-dcae-cbs-docker-client remove "config" level for get_config() Change-Id: Ic8949abc0f9316999f7c3b67fdeb86d5ff172b72 Signed-off-by: Hansen, Tony (th1395) Issue-ID: DCAEGEN2-2733 Issue-ID: DCAEGEN2-2753 --- onap-dcae-cbs-docker-client/tests/test_client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'onap-dcae-cbs-docker-client/tests') diff --git a/onap-dcae-cbs-docker-client/tests/test_client.py b/onap-dcae-cbs-docker-client/tests/test_client.py index 76249d4..48e1f78 100644 --- a/onap-dcae-cbs-docker-client/tests/test_client.py +++ b/onap-dcae-cbs-docker-client/tests/test_client.py @@ -247,7 +247,7 @@ def test_config_file_both_exist(monkeypatch, monkeyed_requests_get): else: monkeypatch.delenv("CBS_CLIENT_CONFIG_PATH") - expected_get_config = {"config": expected_config} + expected_get_config = expected_config for (policy_path, expected_policy, set_policy) in [ ("policy/path", json.loads(found_policy_path)['policies'], True), @@ -292,7 +292,7 @@ def test_config_file_config_exists_policy_does_not(monkeypatch, monkeyed_request else: monkeypatch.delenv("CBS_CLIENT_CONFIG_PATH") - expected_get_config = {"config": expected_config} + expected_get_config = expected_config expected_get_all = {"config": expected_config} for (policy_path, expected_policy, set_policy) in [ @@ -381,7 +381,7 @@ def test_config_file_various_exceptions(monkeypatch, monkeyed_requests_get): else: monkeypatch.delenv("CBS_CLIENT_CONFIG_PATH") - expected_get_config = {"config": expected_config} + expected_get_config = expected_config expected_get_all = {"config": expected_config} for policy_path in ["bad/policy", "bad/policy2", -- cgit 1.2.3-korg