diff options
author | Hansen, Tony (th1395) <th1395@att.com> | 2021-07-20 22:05:23 +0000 |
---|---|---|
committer | Hansen, Tony (th1395) <th1395@att.com> | 2021-07-20 22:05:36 +0000 |
commit | 51348c0dac96d4499035ac771d660f52e0c4006a (patch) | |
tree | dbdff833f52b93d54e1951e39991ac9d89245069 /onap-dcae-cbs-docker-client/tests | |
parent | 876d17be6b1916c08fb36edcdf924859cb04e3cc (diff) |
onap-dcae-cbs-docker-client remove "config" level for get_config()
Change-Id: Ic8949abc0f9316999f7c3b67fdeb86d5ff172b72
Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Issue-ID: DCAEGEN2-2733
Issue-ID: DCAEGEN2-2753
Diffstat (limited to 'onap-dcae-cbs-docker-client/tests')
-rw-r--r-- | onap-dcae-cbs-docker-client/tests/test_client.py | 6 |
1 files changed, 3 insertions, 3 deletions
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", |