diff options
Diffstat (limited to 'src/onaptests/scenario/basic_clamp.py')
-rw-r--r-- | src/onaptests/scenario/basic_clamp.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/onaptests/scenario/basic_clamp.py b/src/onaptests/scenario/basic_clamp.py index d3a9ba1..3669ab1 100644 --- a/src/onaptests/scenario/basic_clamp.py +++ b/src/onaptests/scenario/basic_clamp.py @@ -36,9 +36,12 @@ class BasicClamp(testcase.TestCase): else: self.__logger.info("No cleanup requested. Test completed.") self.result = 100 - except (OnapTestException, SDKException, APIError) as exc: + except OnapTestException as exc: self.result = 0 self.__logger.error(exc.error_message) + except (SDKException, APIError): + self.result = 0 + self.__logger.error("SDK exception") finally: self.stop_time = time.time() def clean(self): |