'Test: get a random mac for a virtual network interface'

def test_get_random_mac(self):

    tprint('get_random_mac')
    mac = self.remote.get_random_mac('xen', self.token)
    hexa = '[0-9A-Fa-f]{2}'
    match_obj = re.match(('%s:%s:%s:%s:%s:%s' % (hexa, hexa, hexa, hexa, hexa, hexa)), mac)
    self.assertTrue(match_obj)
