diff options
Diffstat (limited to 'src/vpp-api/python/vpp_papi/tests/test_macaddress.py')
-rw-r--r-- | src/vpp-api/python/vpp_papi/tests/test_macaddress.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vpp-api/python/vpp_papi/tests/test_macaddress.py b/src/vpp-api/python/vpp_papi/tests/test_macaddress.py new file mode 100644 index 00000000000..08e365afd92 --- /dev/null +++ b/src/vpp-api/python/vpp_papi/tests/test_macaddress.py @@ -0,0 +1,10 @@ +import unittest +from vpp_papi import MACAddress + + +class TestMacAddress(unittest.TestCase): + + def test_eq(self): + mac = '11:22:33:44:55:66' + self.assertEqual(MACAddress(mac), + MACAddress(mac)) |