def test_validate_and_normalize_datapath_id(self):
    datapath_id = 'AA:BB:CC:DD:EE:FF'
    with mock.patch.object(utils, 'is_valid_datapath_id', autospec=True) as m_mock:
        m_mock.return_value = True
        self.assertEqual(datapath_id.lower(), utils.validate_and_normalize_datapath_id(datapath_id))
def test_validate_and_normalize_datapath_id(self):
    datapath_id = 'AA:BB:CC:DD:EE:FF'
    with mock.patch.object(utils, 'is_valid_datapath_id', autospec=True) as m_mock:
        m_mock.return_value = True
        self.assertEqual(datapath_id.lower(), utils.validate_and_normalize_datapath_id(datapath_id))