aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_trapd_settings.py
diff options
context:
space:
mode:
authorHansen, Tony (th1395) <th1395@att.com>2022-08-19 12:56:56 +0000
committerHansen, Tony (th1395) <th1395@att.com>2022-08-19 12:57:10 +0000
commitdac22d93c804780f2dc20164aeb44fc80a30890d (patch)
tree7bd19b04ffa5e8fb049068d9de79778eeed140de /tests/test_trapd_settings.py
parent554b15356ef100a3617f7f5415f6a35ac2b3ebba (diff)
lots of cleanup, no functional code changes
Change-Id: I9eefe4d34ae226bbd5a6f80422f89baeeaeb3471 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2837
Diffstat (limited to 'tests/test_trapd_settings.py')
-rw-r--r--tests/test_trapd_settings.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_trapd_settings.py b/tests/test_trapd_settings.py
index f3aebdd..743fa68 100644
--- a/tests/test_trapd_settings.py
+++ b/tests/test_trapd_settings.py
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (c) 2017-2021 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017-2022 AT&T Intellectual Property. All rights reserved.
# Copyright (c) 2019 Pantheon.tech. All rights reserved.
# Copyright (c) 2021 Fujitsu Ltd.
# ================================================================================
@@ -37,7 +37,7 @@ class test_cleanup_and_exit(unittest.TestCase):
try:
tds.no_such_var
result = True
- except:
+ except Exception:
result = False
self.assertEqual(result, False)
@@ -50,7 +50,7 @@ class test_cleanup_and_exit(unittest.TestCase):
try:
tds.c_config
result = True
- except:
+ except Exception:
result = False
self.assertEqual(result, True)
@@ -63,7 +63,7 @@ class test_cleanup_and_exit(unittest.TestCase):
try:
tds.dns_cache_ip_to_name
result = True
- except:
+ except Exception:
result = False
self.assertEqual(result, True)
@@ -76,6 +76,6 @@ class test_cleanup_and_exit(unittest.TestCase):
try:
tds.dns_cache_ip_expires
result = True
- except:
+ except Exception:
result = False
self.assertEqual(result, True)