aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_syslog.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-01-29 12:27:16 -0800
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-01-29 21:10:17 +0000
commit776e46d77c21899874d156a48b8d89e7133d212c (patch)
tree8b5de3aa4b267adba86f0956d8a9027ac49375a6 /test/test_syslog.py
parent22c0ece25c72238cde7d7a3d98931795edae4785 (diff)
VTL: Fix pep8 test/test_syslog.py
Change-Id: I8894a7a8f2be117a4c1cec9ce5134a1572da7ec7 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/test_syslog.py')
-rw-r--r--test/test_syslog.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_syslog.py b/test/test_syslog.py
index ddc771bc349..5c697ee1e44 100644
--- a/test/test_syslog.py
+++ b/test/test_syslog.py
@@ -129,8 +129,8 @@ class TestSyslog(VppTestCase):
self.assertEqual(capture[0][UDP].dport, 514)
self.assert_packet_checksums_valid(capture[0], False)
except:
- self.logger.error(ppp("invalid packet:", capture[0]))
- raise
+ self.logger.error(ppp("invalid packet:", capture[0]))
+ raise
self.syslog_verify(capture[0][Raw].load,
SyslogFacility.local7,
SyslogSeverity.info,
@@ -184,8 +184,8 @@ class TestSyslog(VppTestCase):
try:
self.assertEqual(capture[0][UDP].dport, 12345)
except:
- self.logger.error(ppp("invalid packet:", capture[0]))
- raise
+ self.logger.error(ppp("invalid packet:", capture[0]))
+ raise
self.syslog_verify(capture[0][Raw].load,
SyslogFacility.local5,
SyslogSeverity.err,