From a7edeebc90bdd335361a7b36f5f5d12a14375554 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Sun, 28 Jan 2024 19:45:44 +0100 Subject: Enhanced validation of configuration of all tests Issue-ID: TEST-402 Signed-off-by: Lukasz Rajewski Change-Id: I2e4ef6365b44c33f4c0b3e72886a83f92c63e2f3 --- src/onaptests/configuration/basic_clamp_settings.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/onaptests/configuration/basic_clamp_settings.py') diff --git a/src/onaptests/configuration/basic_clamp_settings.py b/src/onaptests/configuration/basic_clamp_settings.py index ac99278..7563fb6 100644 --- a/src/onaptests/configuration/basic_clamp_settings.py +++ b/src/onaptests/configuration/basic_clamp_settings.py @@ -3,15 +3,13 @@ from onaptests.utils.resources import get_resource_location from .settings import * # noqa -""" Specific Basic clamp settings.""" + CLEANUP_FLAG = False CLAMP_DISTRIBUTION_TIMER = 10 -# pylint: disable=bad-whitespace # The ONAP part SERVICE_DETAILS = ("Onboarding, enriching a model with TCA." + "Design a loop with Clamp and deploy it in Policy and DCAE") -SERVICE_COMPONENTS = "SDC, CLAMP, POLICY, DCAE, DMAAP" VENDOR_NAME = "basiclamp_vendor" @@ -44,7 +42,7 @@ CONFIGURATION_PATH = get_resource_location("configuration/") try: # Try to retrieve the SERVICE NAME from the yaml file - with open(SERVICE_YAML_TEMPLATE, "r") as yaml_template: + with open(SERVICE_YAML_TEMPLATE, "r", encoding="utf-8") as yaml_template: yaml_config_file = load(yaml_template, SafeLoader) SERVICE_NAME = next(iter(yaml_config_file.keys())) VF_NAME = SERVICE_NAME -- cgit 1.2.3-korg