diff options
author | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-25 19:50:58 -0700 |
---|---|---|
committer | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-25 19:50:58 -0700 |
commit | 365ff206f9160eb633bddec089ba72b786c1d976 (patch) | |
tree | bedeb29d8612079f3de57222088f2e004b133772 /multivimbroker | |
parent | 5b63b8ff552e856f1953749fc1875a7762d5302b (diff) |
Add test_findMultivimDriver_no_version
Add test_findMultivimDriver_no_version
Change-Id: Ib18b1c40c071547b354a247b26c5c54217ec8300
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 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) |