aboutsummaryrefslogtreecommitdiffstats
path: root/lcm/ns_vnfs/tests/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/ns_vnfs/tests/tests.py')
-rw-r--r--lcm/ns_vnfs/tests/tests.py18
1 files changed, 2 insertions, 16 deletions
diff --git a/lcm/ns_vnfs/tests/tests.py b/lcm/ns_vnfs/tests/tests.py
index e67c0d5e..25997490 100644
--- a/lcm/ns_vnfs/tests/tests.py
+++ b/lcm/ns_vnfs/tests/tests.py
@@ -1013,14 +1013,7 @@ class TestGrantVnfViews(TestCase):
resp = GrantVnf(json.dumps(self.data)).exec_grant()
self.assertEqual(resp["vnfInstanceId"], "add_resources_but_no_off")
self.assertEqual(resp["vnfLcmOpOccId"], "vnf_lcm_op_occ_id")
- vimConnections = [{
- "id": "cloudOwner_casa",
- "vimId": "cloudOwner_casa",
- "vimType": None,
- "interfaceInfo": None,
- "accessInfo": {"tenant": "tenantA"},
- "extra": None
- }]
+ vimConnections = []
self.assertEqual(resp["vimConnections"], vimConnections)
@mock.patch.object(resmgr, "grant_vnf")
@@ -1113,14 +1106,7 @@ class TestGrantVnfViews(TestCase):
resp = GrantVnf(json.dumps(self.data)).exec_grant()
self.assertEqual(resp["vnfInstanceId"], "remove_resources_but_no_off")
self.assertEqual(resp["vnfLcmOpOccId"], "vnf_lcm_op_occ_id")
- vimConnections = [{
- "id": "cloudOwner_casa",
- "vimId": "cloudOwner_casa",
- "vimType": None,
- "interfaceInfo": None,
- "accessInfo": {"tenant": "tenantA"},
- "extra": None
- }]
+ vimConnections = []
self.assertEqual(resp["vimConnections"], vimConnections)
@mock.patch.object(resmgr, "grant_vnf")