tests: fix checkstyle failure in test_stats_client.py 17/20217/3
authorSteven Luong <sluong@cisco.com>
Tue, 18 Jun 2019 16:56:07 +0000 (09:56 -0700)
committerSteven Luong <sluong@cisco.com>
Tue, 18 Jun 2019 23:14:43 +0000 (16:14 -0700)
New job submitted to Jenkins reported checkstyle failure in
test_stats_client.py. It needs a blank line in one place and line is
too long in another place.

Type: fix

Change-Id: I9b18df1df449a287570d614d6c5b514ceb88480c
Signed-off-by: Steven Luong <sluong@cisco.com>
test/test_stats_client.py

index 672a77a..dcbf0fe 100644 (file)
@@ -42,6 +42,7 @@ class StatsClientTestCase(VppTestCase):
                          "is not equal to "
                          "ending client side file descriptor count: %s" % (
                              initial_fds, ending_fds))
+
     @unittest.skip("Manual only")
     def test_mem_leak(self):
         def loop():
@@ -58,7 +59,9 @@ class StatsClientTestCase(VppTestCase):
         for j in range(100):
             loop()
         print(self.vapi.cli("show memory stats-segment verbose"))
-        print('AFTER', before, self.statistics.get_counter('/mem/statseg/used'))
+        print('AFTER', before,
+              self.statistics.get_counter('/mem/statseg/used'))
+
 
 if __name__ == '__main__':
     unittest.main(testRunner=VppTestRunner)