aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/scenario/basic_cnf.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/scenario/basic_cnf.py')
-rw-r--r--src/onaptests/scenario/basic_cnf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/onaptests/scenario/basic_cnf.py b/src/onaptests/scenario/basic_cnf.py
index 4d98398..77884bc 100644
--- a/src/onaptests/scenario/basic_cnf.py
+++ b/src/onaptests/scenario/basic_cnf.py
@@ -43,9 +43,12 @@ class BasicCnf(testcase.TestCase):
else:
self.__logger.info("No cleanup requested. Test completed.")
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()