summaryrefslogtreecommitdiffstats
path: root/test/test_session.py
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-04-18 20:50:50 -0700
committerDave Barach <openvpp@barachs.net>2019-04-19 16:55:57 +0000
commitf682facb272ba7a1adc08c9c464df140d4f4b714 (patch)
tree24a11935fab6036f1e6115b42e9b51ef31600c2b /test/test_session.py
parenta2661649b5e1f3158bd5cc5d710854384f078596 (diff)
svm: move fifo tests to a separate file
Change-Id: Iac9ac9f5a6873aae1882316af4f6c919788a0cef Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'test/test_session.py')
-rw-r--r--test/test_session.py26
1 files changed, 26 insertions, 0 deletions
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)