import random
import string


def random_string(length=6):
    """Return a random upper-case string of given length.

    :param length: length of string to return.
    """

    return ''.join(random.choice(string.ascii_uppercase) for _ in range(length))