summaryrefslogtreecommitdiffstats
path: root/test/test_vppinfra.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_vppinfra.py')
-rw-r--r--test/test_vppinfra.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/test_vppinfra.py b/test/test_vppinfra.py
index 36cd55b3550..3a8f8e96fee 100644
--- a/test/test_vppinfra.py
+++ b/test/test_vppinfra.py
@@ -6,7 +6,8 @@ from framework import VppTestCase, VppTestRunner
class TestVppinfra(VppTestCase):
- """ Vppinfra Unit Test Cases """
+ """Vppinfra Unit Test Cases"""
+
vpp_worker_count = 1
@classmethod
@@ -24,16 +25,17 @@ class TestVppinfra(VppTestCase):
super(TestVppinfra, self).tearDown()
def test_bitmap_unittest(self):
- """ Bitmap Code Coverage Test """
+ """Bitmap Code Coverage Test"""
cmds = ["test bitmap"]
for cmd in cmds:
r = self.vapi.cli_return_response(cmd)
if r.retval != 0:
- if hasattr(r, 'reply'):
+ if hasattr(r, "reply"):
self.logger.info(cmd + " FAIL reply " + r.reply)
else:
self.logger.info(cmd + " FAIL retval " + str(r.retval))
-if __name__ == '__main__':
+
+if __name__ == "__main__":
unittest.main(testRunner=VppTestRunner)