diff options
author | Thomas Duval <thomas.duval@orange.com> | 2018-01-05 16:30:42 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2018-01-05 16:30:42 +0100 |
commit | 409e3674df7b7c7191daed9fb6e4cfa16a3175fa (patch) | |
tree | e438ef44a786f32209e3211ba82971ba72caa99e /python_moonutilities/tests/unit_python/mock_repo/urls.py | |
parent | 3a3072d2e1c4a17375405a6e7e8fd9adeab0c434 (diff) |
Fix some tests
Change-Id: I4d670aebd04d5cc0867f66e5e261fffcb97ea874
Diffstat (limited to 'python_moonutilities/tests/unit_python/mock_repo/urls.py')
-rw-r--r-- | python_moonutilities/tests/unit_python/mock_repo/urls.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/python_moonutilities/tests/unit_python/mock_repo/urls.py b/python_moonutilities/tests/unit_python/mock_repo/urls.py index 4170213c..634f07b1 100644 --- a/python_moonutilities/tests/unit_python/mock_repo/urls.py +++ b/python_moonutilities/tests/unit_python/mock_repo/urls.py @@ -10,20 +10,7 @@ def register_components(m): ) m.register_uri( 'GET', 'http://consul:8500/v1/kv/components/port_start', - 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 - } - ], + 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', |