aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/python/vpp_papi/tests/test_macaddress.py
blob: 08e365afd9254b6587f8faf4cc56cf0fda8bc2c8 (plain)
1
2
3
4
5
6
7
8
9
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))