summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-01-29 12:27:16 -0800
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-01-30 19:22:58 +0000
commitb659e2821993b4b4aad21074be9eb16657139e9c (patch)
tree117b984604c9e7476ec0ee88603c904a4956c0d3
parent02da3a792ce1a7b4cdc3f0c9aa3434aadc726d06 (diff)
VTL: Fix pep8 test/test_syslog.py
Change-Id: I8894a7a8f2be117a4c1cec9ce5134a1572da7ec7 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com> (cherry picked from commit 776e46d77c21899874d156a48b8d89e7133d212c)
-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 b407bdf6a55..241787d7592 100644
--- a/test/test_syslog.py
+++ b/test/test_syslog.py
@@ -127,8 +127,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,
@@ -182,8 +182,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,