From 42c67f92e33984f5f4f7105a22e62febc096d9f3 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Mon, 6 Feb 2023 11:58:11 +0000 Subject: [CPS] Fix basic_cps test Add missing variable assignement Issue-ID: INT-2194 Signed-off-by: Michal Jagiello Change-Id: I70044dd5b75cb0b57e97d8091fa43c757c926abf --- src/onaptests/scenario/basic_cps.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/onaptests') diff --git a/src/onaptests/scenario/basic_cps.py b/src/onaptests/scenario/basic_cps.py index 670972b..f7bf7a3 100644 --- a/src/onaptests/scenario/basic_cps.py +++ b/src/onaptests/scenario/basic_cps.py @@ -5,7 +5,7 @@ import time from xtesting.core import testcase from onapsdk.configuration import settings from onapsdk.exceptions import SDKException -from onaptests.steps.onboard.service import YamlTemplateServiceOnboardStep +from onaptests.steps.onboard.cps import CreateCpsAnchorNodeStep from onaptests.utils.exceptions import OnapTestException class BasicCps(testcase.TestCase): @@ -27,8 +27,7 @@ class BasicCps(testcase.TestCase): kwargs["case_name"] = 'basic_cps' super().__init__(**kwargs) self.__logger.debug("BasicCps init started") - # self.test = YamlTemplateServiceOnboardStep( # To be created - # cleanup=settings.CLEANUP_FLAG) + self.test = CreateCpsAnchorNodeStep(cleanup=settings.CLEANUP_FLAG) self.start_time = None self.stop_time = None self.result = 0 -- cgit 1.2.3-korg