blob: 07ddd2c0f085d181885e2beacfcde5604c74e4db [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):
Klement Sekerad9b0c6f2022-04-26 19:02:15 +02009 """Crypto Test Case"""
Neale Rannse6be7022019-06-04 15:37:34 +000010
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):
Klement Sekerad9b0c6f2022-04-26 19:02:15 +020020 """Crypto Unit Tests"""
Neale Rannse6be7022019-06-04 15:37:34 +000021 error = self.vapi.cli("test crypto")
22
23 if error:
24 self.logger.critical(error)
25 self.assertNotIn("FAIL", error)
26
Klement Sekerad9b0c6f2022-04-26 19:02:15 +020027
28if __name__ == "__main__":
Neale Rannse6be7022019-06-04 15:37:34 +000029 unittest.main(testRunner=VppTestRunner)