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