def generate_random_alphanumeric(length):
    return ''.join(random.choice(string.ascii_uppercase + string.digits)
                   for _x in range(length))
Creates a random alphanumeric string of specified length.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/functional/integrated_helpers.py/generate_random_alphanumeric