aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration/ubuntu16_multicloud_yaml_settings.py
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-09-29 16:08:46 +0200
committermrichomme <morgan.richomme@orange.com>2020-09-29 16:36:40 +0200
commit3e390f1d45785bca5beb1f5c2fa57ef59f6736e9 (patch)
treec39f0a993fa5e609aeb3303189e3f55b8fcd82b3 /src/onaptests/configuration/ubuntu16_multicloud_yaml_settings.py
parent7d24eda2deefdc9b1f6dc1555f45573d4b2e2873 (diff)
Update path management
In case a yaml file is defined the zip was referenced in 2 places consider only the yaml param if the yaml file is defined Add the python path to simplify the integration in CI a,d avoid overwritting any configuration only the 2 ENV parameters + the openstack cloud + the hosts are needed to run any pythonsdk-test Issue-ID: TEST-240 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I57bf303b497e4d2b1dd740286f07beb3783222b1 Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'src/onaptests/configuration/ubuntu16_multicloud_yaml_settings.py')
-rw-r--r--src/onaptests/configuration/ubuntu16_multicloud_yaml_settings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/onaptests/configuration/ubuntu16_multicloud_yaml_settings.py b/src/onaptests/configuration/ubuntu16_multicloud_yaml_settings.py
index 6f19fc1..341dc16 100644
--- a/src/onaptests/configuration/ubuntu16_multicloud_yaml_settings.py
+++ b/src/onaptests/configuration/ubuntu16_multicloud_yaml_settings.py
@@ -1,3 +1,4 @@
+import sys
from .settings import * # pylint: disable=W0614
""" Specific ubuntu16 with multicloud and yaml config scenario."""
@@ -35,4 +36,4 @@ PLATFORM = "sdktests_platform"
SERVICE_INSTANCE_NAME = "sdktests_service_instance_name"
-SERVICE_YAML_TEMPLATE = "templates/vnf-services/ubuntu16test-service.yaml"
+SERVICE_YAML_TEMPLATE = sys.path[-1] + "/onaptests/templates/vnf-services/ubuntu16test-service.yaml"