Fix vfc-vnflcm unit tests grant response data
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / tests / test_vnf_cancel.py
index 7e6c30f..6e431e0 100644 (file)
@@ -157,12 +157,8 @@ class TestNFTerminate(TestCase):
                                    create_time=now_time())
         t1_apply_grant_result = [0, json.JSONEncoder().encode(
             {
-                "vim": {
-                    "vimid": 'vimid_1',
-                    "accessinfo": {
-                        "tenant": 'tenantname_1'
-                    }
-                }
+                "vimid": 'vimid_1',
+                "tenant": 'tenantname_1'
             }), '200']
         t2_lcm_notify_result = [0, json.JSONEncoder().encode(''), '200']
         mock_call_req.side_effect = [t1_apply_grant_result, t2_lcm_notify_result]