summaryrefslogtreecommitdiffstats
path: root/multivimbroker
diff options
context:
space:
mode:
authorLiang Ke <lokyse@163.com>2018-03-26 04:11:46 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-26 04:11:46 +0000
commit12458dd50ca4033fa2bbecadfefca9c3d0fe25ae (patch)
treeb26984d94c91baf676f614d3d228902477134174 /multivimbroker
parent98d67a40a0c961cecb7dcc044846a6f3bddb53ba (diff)
parent2d6dbe8d001558faace5f0b17196f7ea5ae10d8c (diff)
Merge "Add test_findMultivimDriver_with_version"
Diffstat (limited to 'multivimbroker')
-rw-r--r--multivimbroker/multivimbroker/tests/test_syscomm.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/multivimbroker/multivimbroker/tests/test_syscomm.py b/multivimbroker/multivimbroker/tests/test_syscomm.py
index b5097d7..b80047d 100644
--- a/multivimbroker/multivimbroker/tests/test_syscomm.py
+++ b/multivimbroker/multivimbroker/tests/test_syscomm.py
@@ -47,3 +47,8 @@ class TestSyscomm(unittest.TestCase):
vim = {"type": "openstack"}
ret = syscomm.findMultivimDriver(vim)
self.assertEqual("multicloud-ocata", ret)
+
+ def test_findMultivimDriver_with_version(self):
+ vim = {"type": "openstack", "version": "titanium_cloud"}
+ ret = syscomm.findMultivimDriver(vim)
+ self.assertEqual("multicloud-titanium_cloud", ret)