def test_validate_and_normalize_mac(self):
    mac = 'AA:BB:CC:DD:EE:FF'
    with mock.patch.object(netutils, 'is_valid_mac', autospec=True) as m_mock:
        m_mock.return_value = True
        self.assertEqual(mac.lower(), utils.validate_and_normalize_mac(mac))
def test_validate_and_normalize_mac(self):
    mac = 'AA:BB:CC:DD:EE:FF'
    with mock.patch.object(netutils, 'is_valid_mac', autospec=True) as m_mock:
        m_mock.return_value = True
        self.assertEqual(mac.lower(), utils.validate_and_normalize_mac(mac))