summaryrefslogtreecommitdiffstats
path: root/test/test_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_util.py')
-rwxr-xr-xtest/test_util.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_util.py b/test/test_util.py
index 01ba8623952..e7d53668e2b 100755
--- a/test/test_util.py
+++ b/test/test_util.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python
-"""Test framework utilitty functions tests"""
+"""Test framework utility functions tests"""
import unittest
-from framework import VppTestCase, VppTestRunner
+from framework import VppTestRunner
from vpp_papi import mac_pton, mac_ntop
-class TestUtil (VppTestCase):
+class TestUtil (unittest.TestCase):
""" MAC to binary and back """
def test_mac_to_binary(self):
mac = 'aa:bb:cc:dd:ee:ff'
@@ -15,5 +15,6 @@ class TestUtil (VppTestCase):
self.assertEqual(type(mac), type(mac2))
self.assertEqual(mac2, mac)
+
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)