diff options
author | sgdt6900 <rhanafy.ext@orange.com> | 2018-01-03 16:54:18 +0200 |
---|---|---|
committer | sgdt6900 <rhanafy.ext@orange.com> | 2018-01-03 17:09:50 +0200 |
commit | c7b935cd626cb93876d72f6876eda1dd5c4d5be7 (patch) | |
tree | d1298468bc748c84a230caa781f37291db173f6f /python_moonutilities/tests/unit_python/mock_repo/urls.py | |
parent | 681cfafb6a58757d2c56a135d909561d4a654a13 (diff) |
adding more unit tests for configuration module
undo deleted exception by mistake
Change-Id: I6c0246a938035f5542634e33311ad4b02973f67b
Signed-off-by: sgdt6900 <rhanafy.ext@orange.com>
Diffstat (limited to 'python_moonutilities/tests/unit_python/mock_repo/urls.py')
-rw-r--r-- | python_moonutilities/tests/unit_python/mock_repo/urls.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/python_moonutilities/tests/unit_python/mock_repo/urls.py b/python_moonutilities/tests/unit_python/mock_repo/urls.py index 75b55927..ff7976da 100644 --- a/python_moonutilities/tests/unit_python/mock_repo/urls.py +++ b/python_moonutilities/tests/unit_python/mock_repo/urls.py @@ -13,6 +13,19 @@ def register_components(m): json=[{'Key': 'port_start', 'Value': comp_util.get_b64_conf("components/port_start")}] ) m.register_uri( + 'GET', 'http://consul:8500/v1/kv/plugins?recurse=true', + json=[ + { + "LockIndex": 0, + "Key": "plugins/authz", + "Flags": 0, + "Value": "eyJjb250YWluZXIiOiAid3Vrb25nc3VuL21vb25fYXV0aHo6djQuMyIsICJwb3J0IjogODA4MX0=", + "CreateIndex": 14, + "ModifyIndex": 656 + } + ], + ) + m.register_uri( 'PUT', 'http://consul:8500/v1/kv/components/port_start', json=[] ) |