X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_util.py;fp=test%2Ftest_util.py;h=e7d53668e2b62d3dc8d251eb89af9f6644230510;hb=dd3c5d250f3cf9712e37e47851ca07401e715f13;hp=01ba862395285e7675c3110e01e618fa0cf9bbb9;hpb=262e064bb6b8498adee8bc4793867b09398ee807;p=vpp.git 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)