diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-10 19:14:05 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-10 19:14:05 +0100 |
commit | d9af64aa0af6ba1e42fc0afd5cad10b1853e8a43 (patch) | |
tree | 09b40f36cdd57643f9c2cf773adb283f08c26edd /scripts | |
parent | 50315abd38be71554a2daf18f8c3c23bf8690bcf (diff) | |
download | vyos-1x-d9af64aa0af6ba1e42fc0afd5cad10b1853e8a43.tar.gz vyos-1x-d9af64aa0af6ba1e42fc0afd5cad10b1853e8a43.zip |
Revert "snmp: output expected value on error"
This reverts commit bcc0b5bd6e11a9fbc2fcb3c450fdb48bb85499e8.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cli/test_service_snmp.py | 6 |
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())) |