def METHOD_NAME(remote, token):
    """
    Test: get a random mac for a virtual network interface
    """
    mac = remote.get_random_mac("xen", token)
    hexa = "[0-9A-Fa-f]{2}"
    match_obj = re.match(
        "%s:%s:%s:%s:%s:%s" % (hexa, hexa, hexa, hexa, hexa, hexa), mac
    )
    assert match_obj