aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/mod/trapd_vnf_table.py
diff options
context:
space:
mode:
authorHansen, Tony (th1395) <th1395@att.com>2020-01-27 22:28:34 +0000
committerHansen, Tony (th1395) <th1395@att.com>2020-01-31 19:10:12 +0000
commitdb08ae5dac684a1155dedfd199ae4e372c82e9df (patch)
treead8af5f477614099f32f7d430bbc01a1101d76ce /miss_htbt_service/mod/trapd_vnf_table.py
parentc23a966aaa7e9172c42d8439a3a208000d1762dc (diff)
increase code coverage
Change-Id: I30632d2e34401f8eff6e67b9b3d8abba32e80050 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-1902 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Diffstat (limited to 'miss_htbt_service/mod/trapd_vnf_table.py')
-rw-r--r--miss_htbt_service/mod/trapd_vnf_table.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/miss_htbt_service/mod/trapd_vnf_table.py b/miss_htbt_service/mod/trapd_vnf_table.py
index 56aedbb..eeb4dc6 100644
--- a/miss_htbt_service/mod/trapd_vnf_table.py
+++ b/miss_htbt_service/mod/trapd_vnf_table.py
@@ -1,7 +1,7 @@
# ============LICENSE_START=======================================================
# org.onap.dcae
# ================================================================================
-# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved.
# Copyright (c) 2019 Pantheon.tech. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,9 +17,8 @@
# limitations under the License.
# ============LICENSE_END=========================================================
#
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
-#
## Author Kiran Mandal (km386e)
+
"""
trapd_vnf_table verifies the successful creation of DB Tables.
"""
@@ -120,7 +119,9 @@ def verify_cbspolling():
try:
_cbspolling=cbs.pollCBS(10)
except Exception as e:
- #print("CBSP error - %s" % e)
+ # print("CBSP error - %s" % e)
+ # print("CBSP error - %s" % e, file=sys.stderr)
+ # print("Stack: {0}".format(traceback.format_exc()), file=sys.stderr)
return None
os.unsetenv('pytest')