diff options
author | Ruan HE <ruan.he@orange.com> | 2018-01-15 09:18:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-15 09:18:33 +0000 |
commit | 3a23f21a16f61a502e86f771b1475300491c6680 (patch) | |
tree | 2f9c24a9c48dd95d544cfe8821daadec33903480 /python_moonutilities/tests/unit_python/mock_repo/urls.py | |
parent | 455ab55ab57c3009f7ef8645e4f06bc34193d127 (diff) | |
parent | e7e664ddd6264718f700f8a529abd2c1663dcfcb (diff) |
Merge "adding tests for the change "interface - pipline""
Diffstat (limited to 'python_moonutilities/tests/unit_python/mock_repo/urls.py')
-rw-r--r-- | python_moonutilities/tests/unit_python/mock_repo/urls.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/python_moonutilities/tests/unit_python/mock_repo/urls.py b/python_moonutilities/tests/unit_python/mock_repo/urls.py index 634f07b1..41fd1eec 100644 --- a/python_moonutilities/tests/unit_python/mock_repo/urls.py +++ b/python_moonutilities/tests/unit_python/mock_repo/urls.py @@ -8,10 +8,7 @@ def register_components(m): 'GET', 'http://consul:8500/v1/kv/{}'.format(component), json=[{'Key': component, 'Value': comp_util.get_b64_conf(component)}] ) - m.register_uri( - 'GET', 'http://consul:8500/v1/kv/components/port_start', - json=[{'Key': 'components/port_start', 'Value': comp_util.get_b64_conf("components/port_start")}] - ) + m.register_uri( 'PUT', 'http://consul:8500/v1/kv/components/port_start', json=[] |