aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2023-02-06 11:58:11 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2023-02-06 11:58:11 +0000
commit42c67f92e33984f5f4f7105a22e62febc096d9f3 (patch)
tree98a5075f876e1358b1e01de08862e746d0010b37 /src
parent00fb69a0dcfb8dfa4f5b540046ee1453f45bcf37 (diff)
[CPS] Fix basic_cps test
Add missing variable assignement Issue-ID: INT-2194 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I70044dd5b75cb0b57e97d8091fa43c757c926abf
Diffstat (limited to 'src')
-rw-r--r--src/onaptests/scenario/basic_cps.py5
1 files changed, 2 insertions, 3 deletions
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