blob: aa62dba1babec85f477333ca39c6c0e8922d8454 [file] [log] [blame]
Renato Botelho do Coutoead1e532019-10-31 13:31:07 -05001#!/usr/bin/env python3
Neale Rannse6be7022019-06-04 15:37:34 +00002
3import unittest
4
5from framework import VppTestCase, VppTestRunner
6
7
8class TestCrypto(VppTestCase):
9 """ Crypto Test Case """
10
11 @classmethod
12 def setUpClass(cls):
13 super(TestCrypto, cls).setUpClass()
14
15 @classmethod
16 def tearDownClass(cls):
17 super(TestCrypto, cls).tearDownClass()
18
19 def test_crypto(self):
20 """ Crypto Unit Tests """
21 error = self.vapi.cli("test crypto")
22
23 if error:
24 self.logger.critical(error)
25 self.assertNotIn("FAIL", error)
26
27if __name__ == '__main__':
28 unittest.main(testRunner=VppTestRunner)