diff options
Diffstat (limited to 'src/onaptests/scenario/cds_blueprint_enrichment.py')
-rw-r--r-- | src/onaptests/scenario/cds_blueprint_enrichment.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/onaptests/scenario/cds_blueprint_enrichment.py b/src/onaptests/scenario/cds_blueprint_enrichment.py index c1df63e..3354ee1 100644 --- a/src/onaptests/scenario/cds_blueprint_enrichment.py +++ b/src/onaptests/scenario/cds_blueprint_enrichment.py @@ -35,10 +35,14 @@ class CDSBlueprintEnrichment(testcase.TestCase): try: self.test.execute() self.result = 100 - except (OnapTestException, SDKException) as exc: + except OnapTestException as exc: self.result = 0 self.__logger.error(exc.error_message) - self.stop_time = time.time() + except SDKException: + self.result = 0 + self.__logger.error("SDK Exception") + finally: + self.stop_time = time.time() def clean(self): """Clean Additional resources if needed.""" |