summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cli/test_service_snmp.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/cli/test_service_snmp.py b/scripts/cli/test_service_snmp.py
index 72f338e31..2f918c929 100755
--- a/scripts/cli/test_service_snmp.py
+++ b/scripts/cli/test_service_snmp.py
@@ -78,11 +78,7 @@ class TestSNMPService(unittest.TestCase):
else:
expected += ',udp6:[{}]:161'.format(addr)
- try:
- self.assertTrue(expected in config)
- except:
- print("expected: {}".format(expected))
- print("config: {}".format(config))
+ self.assertTrue(expected in config)
# Check for running process
self.assertTrue("snmpd" in (p.name() for p in process_iter()))