vpp/test/test_crypto.py
Dave Wallace eddd8e3588 tests: move test source to vpp/test
- Generate copyright year and version
  instead of using hard-coded data

Type: refactor

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I6058f5025323b3aa483f5df4a2c4371e27b5914e
2021-05-13 09:33:06 +00:00

29 lines
610 B
Python

#!/usr/bin/env python3
import unittest
from framework import VppTestCase, VppTestRunner
class TestCrypto(VppTestCase):
""" Crypto Test Case """
@classmethod
def setUpClass(cls):
super(TestCrypto, cls).setUpClass()
@classmethod
def tearDownClass(cls):
super(TestCrypto, cls).tearDownClass()
def test_crypto(self):
""" Crypto Unit Tests """
error = self.vapi.cli("test crypto")
if error:
self.logger.critical(error)
self.assertNotIn("FAIL", error)
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)