From: Michal Jagiello Date: Mon, 6 Feb 2023 11:58:11 +0000 (+0000) Subject: [CPS] Fix basic_cps test X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=42c67f92e33984f5f4f7105a22e62febc096d9f3;p=testsuite%2Fpythonsdk-tests.git [CPS] Fix basic_cps test Add missing variable assignement Issue-ID: INT-2194 Signed-off-by: Michal Jagiello Change-Id: I70044dd5b75cb0b57e97d8091fa43c757c926abf --- 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