Fix vim_types tests
Fix vim_types tests
Change-Id: Ib58860496b51657d7455de60ab48ba8b0bc886fb
Issue-ID: MULTICLOUD-184
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
diff --git a/multivimbroker/multivimbroker/tests/test_vim_types.py b/multivimbroker/multivimbroker/tests/test_vim_types.py
index a3fe049..b8a5080 100644
--- a/multivimbroker/multivimbroker/tests/test_vim_types.py
+++ b/multivimbroker/multivimbroker/tests/test_vim_types.py
@@ -22,15 +22,5 @@
def test_vim_types_success(self):
resp = self.view.get(mock.Mock())
- expect_body = [
- {
- 'vim_type': u'openstack',
- 'versions': [u'ocata', u'titanium_cloud']
- },
- {
- 'vim_type': u'vmware',
- 'versions': [u'4.0']
- }
- ]
self.assertEqual(status.HTTP_200_OK, resp.status_code)
- self.assertEqual(expect_body, resp.data)
+ self.assertEqual(2, len(resp.data))