summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)