aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-09-09 10:00:23 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-09-09 10:08:54 +0800
commitf1d460aa03c2dea9fa3b9cfbdd83a48b9594284a (patch)
treee0056ca5b9119002a2f0a34b41754ac0bc28cd0a /test
parenta3324ab0a92e199b36767f9b13e14a5963e19c60 (diff)
Fix invalid string error of vnf onboard
Change-Id: I1f0077554db7d37ed33c45cbc68d8fb554339539 Issue-ID: INT-1239 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/hpa_automation/tosca/hpa_automation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hpa_automation/tosca/hpa_automation.py b/test/hpa_automation/tosca/hpa_automation.py
index a969913b5..08966d9a5 100755
--- a/test/hpa_automation/tosca/hpa_automation.py
+++ b/test/hpa_automation/tosca/hpa_automation.py
@@ -380,7 +380,7 @@ def onboard_vnf(parameters):
for key, value in vnfs.items():
vnf_onboard_string = 'oclip vfc-catalog-onboard-vnf -c {}'.format(value.get("csar-id"))
- vnf_onboard_outs[key] = (os.popen(ns_onboard_string)).read()
+ vnf_onboard_outputs[key] = (os.popen(vnf_onboard_string)).read()
return vnf_onboard_outputs
def onboard_ns(parameters):