aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/preload.py
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-05 10:28:03 +0100
committerMarco Platania <platania@research.att.com>2020-03-05 15:26:40 +0000
commit3d3d3c28d88d1f7bad2b9a274fe9ad4cfaf01554 (patch)
tree2f33b3f16289d8555173f011737d611515e7541b /test/vcpe/preload.py
parent5d8a1df2dbfd99fa87e792c584ac220187c9928e (diff)
Fix indentation and whitespace issues in Python scripts
Reported by pylint. Change-Id: I9d5ee152f3587bb2d7e8abee919e4ffe47d8ae85 Issue-ID: INT-1427 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/vcpe/preload.py')
-rwxr-xr-xtest/vcpe/preload.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/vcpe/preload.py b/test/vcpe/preload.py
index 08b34ecf5..6517fe5d8 100755
--- a/test/vcpe/preload.py
+++ b/test/vcpe/preload.py
@@ -102,9 +102,9 @@ class Preload:
self.logger.info('Preloading network ' + network_role)
self.logger.info('template_file:' + template_file)
if 'networkgra' in template_file:
- return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_network_gra_url)
+ return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_network_gra_url)
else:
- return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_network_url)
+ return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_network_url)
def preload(self, template_file, replace_dict, url):
self.logger.debug('tempalte_file:'+ template_file)
@@ -165,10 +165,10 @@ class Preload:
'${suffix}': name_suffix}
replace_dict.update(common_dict)
self.logger.info('Preloading VF Module ' + vfmodule_name)
- if gra_api_flag:
- return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_gra_url)
+ if gra_api_flag:
+ return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_gra_url)
else:
- return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_vnf_url)
+ return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_vnf_url)
def preload_all_networks(self, template_file, name_suffix):
common_dict = {'${' + k + '}': v for k, v in self.vcpecommon.common_preload_config.items()}