open annotation
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / tests / test_scale_vnf.py
index c415bf0..e5583fe 100644 (file)
@@ -93,7 +93,7 @@ class TestNfScale(TestCase):
         res_cache = {"volume": {}, "flavor": {}, "port": {}}
         res_cache["volume"]["test"] = "test"
         # res_cache["flavor"]["vdu1Id"] = "flavor1"
-        res_cache["port"]["ext_cp"] = "port1"
+        res_cache["port"]["ext_cp"] = "port1"
         NfInstModel(nfinstid=self.nf_inst_id,
                     nf_name='VNF1',
                     nf_desc="VNF DESC",
@@ -176,6 +176,7 @@ class TestNfScale(TestCase):
         ]
         mock_call.side_effect = [
             const.c1_data_get_tenant_id,
+            const.c6_data_create_port,
             const.c7_data_create_flavor,
             const.c8_data_list_image,
             const.c9_data_create_vm,