X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_session.py;fp=test%2Ftest_session.py;h=aceff656e4e87cf2a1dd8484bb454dc232010722;hb=f682facb272ba7a1adc08c9c464df140d4f4b714;hp=f1a3dcdbef360c7cc353bb341f57490deaaad679;hpb=a2661649b5e1f3158bd5cc5d710854384f078596;p=vpp.git diff --git a/test/test_session.py b/test/test_session.py index f1a3dcdbef3..aceff656e4e 100644 --- a/test/test_session.py +++ b/test/test_session.py @@ -116,5 +116,31 @@ class TestSessionUnitTests(VppTestCase): super(TestSessionUnitTests, self).tearDown() self.vapi.session_enable_disable(is_enabled=0) + +class TestSvmFifoUnitTests(VppTestCase): + """ SVM Fifo Unit Tests Case """ + + @classmethod + def setUpClass(cls): + super(TestSvmFifoUnitTests, cls).setUpClass() + + @classmethod + def tearDownClass(cls): + super(TestSvmFifoUnitTests, cls).tearDownClass() + + def setUp(self): + super(TestSvmFifoUnitTests, self).setUp() + + def test_svm_fifo(self): + """ SVM Fifo Unit Tests """ + error = self.vapi.cli("test svm fifo all") + + if error: + self.logger.critical(error) + self.assertNotIn("failed", error) + + def tearDown(self): + super(TestSvmFifoUnitTests, self).tearDown() + if __name__ == '__main__': unittest.main(testRunner=VppTestRunner)