From ae08f5b745b7a708883e7f9c550ffcf70128603b Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 8 Apr 2021 21:29:13 +0200 Subject: [PATCH] Remove home variable in all test resources where not used Change-Id: Ic2cf0de85bcead71c81bc878a09b6c58a04c597b Signed-off-by: garciadeblas --- .../basic_05-instantiation_parameters_in_cloud_init_data.py | 2 -- robot-systest/resources/basic_07-secure_key_management_data.py | 2 -- robot-systest/resources/basic_15-rbac_configurations_data.py | 2 -- robot-systest/resources/quotas_01-quota_enforcement_data.py | 2 -- .../resources/sa_08-vnf_with_vnf_indicators_snmp_data.py | 2 -- 5 files changed, 10 deletions(-) diff --git a/robot-systest/resources/basic_05-instantiation_parameters_in_cloud_init_data.py b/robot-systest/resources/basic_05-instantiation_parameters_in_cloud_init_data.py index d4e5312..4505d7e 100644 --- a/robot-systest/resources/basic_05-instantiation_parameters_in_cloud_init_data.py +++ b/robot-systest/resources/basic_05-instantiation_parameters_in_cloud_init_data.py @@ -12,8 +12,6 @@ from pathlib import Path -# Get ${HOME} from local machine -home = str(Path.home()) # NS and VNF descriptor package folder vnfd_pkg = 'ubuntu_cloudinit_vnf' nsd_pkg = 'ubuntu_cloudinit_ns' diff --git a/robot-systest/resources/basic_07-secure_key_management_data.py b/robot-systest/resources/basic_07-secure_key_management_data.py index c1621fd..bc1ee4d 100644 --- a/robot-systest/resources/basic_07-secure_key_management_data.py +++ b/robot-systest/resources/basic_07-secure_key_management_data.py @@ -12,8 +12,6 @@ from pathlib import Path -# Get ${HOME} from local machine -home = str(Path.home()) # NS and VNF descriptor package folder vnfd_pkg = 'charm-packages/nopasswd_proxy_charm_vnf' nsd_pkg = 'charm-packages/nopasswd_proxy_charm_ns' diff --git a/robot-systest/resources/basic_15-rbac_configurations_data.py b/robot-systest/resources/basic_15-rbac_configurations_data.py index 684ac24..094ba20 100644 --- a/robot-systest/resources/basic_15-rbac_configurations_data.py +++ b/robot-systest/resources/basic_15-rbac_configurations_data.py @@ -12,8 +12,6 @@ from pathlib import Path -# Get ${HOME} from local machine -home = str(Path.home()) # User, project and roles to use user_name = 'basic_15_test_user' user_password = 'basic_15_user_pass' diff --git a/robot-systest/resources/quotas_01-quota_enforcement_data.py b/robot-systest/resources/quotas_01-quota_enforcement_data.py index 90bf709..abf6a13 100644 --- a/robot-systest/resources/quotas_01-quota_enforcement_data.py +++ b/robot-systest/resources/quotas_01-quota_enforcement_data.py @@ -12,8 +12,6 @@ from pathlib import Path -# Get ${HOME} from local machine -home = str(Path.home()) # VNFD package to use during test vnfd_name = 'hackfest_basic_vnf' # Project names to use diff --git a/robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py b/robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py index d9e6d1e..36dabdb 100644 --- a/robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py +++ b/robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py @@ -23,8 +23,6 @@ metric_1_name = 'ifInOctets' metric_1_filter = 'ifIndex=1' metric_2_name = 'ifMtu' metric_2_filter = 'ifIndex=2' -# Get ${HOME} from local machine -home = str(Path.home()) # NS and VNF descriptor package folder vnfd_pkg = 'snmp_ee_vnf' nsd_pkg = 'snmp_ee_ns' -- 2.17.1