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 9e234e4..b5097d7 100644
--- a/multivimbroker/multivimbroker/tests/test_syscomm.py
+++ b/multivimbroker/multivimbroker/tests/test_syscomm.py
@@ -42,3 +42,8 @@ class TestSyscomm(unittest.TestCase):
def test_findMultivimDriver_no_type(self):
vim = {"type": "wrong type"}
self.assertRaises(exceptions.NotFound, syscomm.findMultivimDriver, vim)
+
+ def test_findMultivimDriver_no_version(self):
+ vim = {"type": "openstack"}
+ ret = syscomm.findMultivimDriver(vim)
+ self.assertEqual("multicloud-ocata", ret)