aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/scenario/basic_onboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/scenario/basic_onboard.py')
-rw-r--r--src/onaptests/scenario/basic_onboard.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/onaptests/scenario/basic_onboard.py b/src/onaptests/scenario/basic_onboard.py
index 6277f9d..af689bd 100644
--- a/src/onaptests/scenario/basic_onboard.py
+++ b/src/onaptests/scenario/basic_onboard.py
@@ -34,9 +34,12 @@ class BasicOnboard(testcase.TestCase):
self.test.execute()
self.__logger.info("VNF basic_vm successfully onboarded")
self.result = 100
- except (OnapTestException, SDKException) as exc:
+ except OnapTestException as exc:
self.result = 0
self.__logger.error(exc.error_message)
+ except SDKException:
+ self.result = 0
+ self.__logger.error("SDK Exception")
finally:
self.stop_time = time.time()