diff options
author | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-25 19:52:58 -0700 |
---|---|---|
committer | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-25 19:52:58 -0700 |
commit | 2d6dbe8d001558faace5f0b17196f7ea5ae10d8c (patch) | |
tree | 6adb82d921abb56a4c111609842d8fe8d12883ea /multivimbroker | |
parent | 365ff206f9160eb633bddec089ba72b786c1d976 (diff) |
Add test_findMultivimDriver_with_version
Add test_findMultivimDriver_with_version for syscomm.py
Change-Id: I31d828e065674f0cc960b739c569f2ad15f9583e
Issue-ID: MULTICLOUD-198
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'multivimbroker')
-rw-r--r-- | multivimbroker/multivimbroker/tests/test_syscomm.py | 5 |
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) |