diff options
author | Micha? Jagie??o <michal.jagiello@t-mobile.pl> | 2023-06-21 05:59:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-06-21 05:59:12 +0000 |
commit | 99ee76f7f618282987e71a2c0b2ddbaa5bbd2689 (patch) | |
tree | 1bf841d2161f4d4feabe2e93f53861db9ac06470 /src/onaptests/scenario/cds_blueprint_enrichment.py | |
parent | 66cb2f9168c8a8f0c19e662491019d01f16de146 (diff) | |
parent | c10f9f4706aeb848cc55ad7a552081dbf3e7b6a7 (diff) |
Merge "BaseScenario class added"
Diffstat (limited to 'src/onaptests/scenario/cds_blueprint_enrichment.py')
-rw-r--r-- | src/onaptests/scenario/cds_blueprint_enrichment.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/onaptests/scenario/cds_blueprint_enrichment.py b/src/onaptests/scenario/cds_blueprint_enrichment.py index c442780..5a63695 100644 --- a/src/onaptests/scenario/cds_blueprint_enrichment.py +++ b/src/onaptests/scenario/cds_blueprint_enrichment.py @@ -6,23 +6,19 @@ import time from onapsdk.configuration import settings from onapsdk.exceptions import SDKException -from xtesting.core import testcase - +from onaptests.scenario.scenario_base import ScenarioBase from onaptests.steps.onboard.cds import CbaEnrichStep from onaptests.utils.exceptions import OnapTestException -class CDSBlueprintEnrichment(testcase.TestCase): +class CDSBlueprintEnrichment(ScenarioBase): """Enrich simple blueprint using CDS blueprintprocessor.""" __logger = logging.getLogger() def __init__(self, **kwargs): """Init CDS blueprint enrichment use case.""" - if "case_name" not in kwargs: - kwargs["case_name"] = 'basic_cds' - super(CDSBlueprintEnrichment, self).__init__(**kwargs) - self.__logger.debug("CDS blueprint enrichment initialization") + super().__init__('basic_cds', **kwargs) self.test = CbaEnrichStep( cleanup=settings.CLEANUP_FLAG) self.start_time = None |