summaryrefslogtreecommitdiffstats
path: root/dcae-cli/dcae_cli/util/tests/test_discovery.py
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-09-15 13:41:58 -0400
committerMichael Hwang <mhwang@research.att.com>2017-09-18 13:00:59 -0400
commit4188380fb7b806640103f557afec344455787a34 (patch)
treec5bbe244980f567012f6dbbcd1b3bb5ddc5ed37c /dcae-cli/dcae_cli/util/tests/test_discovery.py
parent5a7ecc5f553c6416beb7327a55967287b0645d14 (diff)
Make server url into a user inputted config param
Change-Id: I90e94445fe0f3c003307355cade493e97d0a202d Issue-Id: DCAEGEN2-110 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'dcae-cli/dcae_cli/util/tests/test_discovery.py')
-rw-r--r--dcae-cli/dcae_cli/util/tests/test_discovery.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/dcae-cli/dcae_cli/util/tests/test_discovery.py b/dcae-cli/dcae_cli/util/tests/test_discovery.py
index aed5ca8..0832c5e 100644
--- a/dcae-cli/dcae_cli/util/tests/test_discovery.py
+++ b/dcae-cli/dcae_cli/util/tests/test_discovery.py
@@ -373,21 +373,6 @@ def test_make_instance_map():
instances_map = dis._make_instances_map(instances_latest_format)
assert instances_map.get(("sandbox.platform.laika", "0.5.0")) == set(instances_latest_format)
- instances_other_format = ["mike.39f809be-7d13-4799-b8d0-ba0d5358282b.0-5-0.sandbox-platform-laika.rework-central.dcae.com"]
-
- instances_map = dis._make_instances_map(instances_other_format)
- assert instances_map.get(("sandbox.platform.laika", "0.5.0")) == set(instances_other_format)
-
- instances_other_format = ["mike.b5435a8c-ef56-4371-94d8-560a61f7352f.0-5-0.sandbox-platform-laika.solutioning-central.dcae.com"]
-
- instances_map = dis._make_instances_map(instances_other_format)
- assert instances_map.get(("sandbox.platform.laika", "0.5.0")) == set(instances_other_format)
-
- instances_other_format = ["mike.b5435a8c-ef56-4371-94d8-560a61f7352f.0-5-0.sandbox-platform-laika.dcae.com"]
-
- instances_map = dis._make_instances_map(instances_other_format)
- assert instances_map.get(("sandbox.platform.laika", "0.5.0")) == set(instances_other_format)
-
def test_get_component_instances(monkeypatch):
instances = [