summaryrefslogtreecommitdiffstats
path: root/test/test_sparse_vec.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sparse_vec.py')
-rw-r--r--test/test_sparse_vec.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_sparse_vec.py b/test/test_sparse_vec.py
index a683faefd57..6b1cb2885e0 100644
--- a/test/test_sparse_vec.py
+++ b/test/test_sparse_vec.py
@@ -7,7 +7,7 @@ from vpp_ip_route import VppIpTable, VppIpRoute, VppRoutePath
class TestSparseVec(VppTestCase):
- """ SparseVec Test Cases """
+ """SparseVec Test Cases"""
@classmethod
def setUpClass(cls):
@@ -24,11 +24,12 @@ class TestSparseVec(VppTestCase):
super(TestSparseVec, self).tearDown()
def test_string_unittest(self):
- """ SparseVec unit tests """
+ """SparseVec unit tests"""
error = self.vapi.cli("test sparse_vec")
if error.find("failed") != -1:
self.logger.critical("FAILURE in the sparse_vec test")
self.assertNotIn("failed", error)
-if __name__ == '__main__':
+
+if __name__ == "__main__":
unittest.main(testRunner=VppTestRunner)