def generate_random_dict(keys_count=10, depth=1):
    """
    Generate a dictionary with fixed random values.
    """
    result = {}

    keys = list(range(0, keys_count))
    random.shuffle(keys)

    current = {}
    result = current

    for index in range(0, depth):
        current["depth_%s" % (index)] = {}

        current = current["depth_%s" % (index)]

        for key in keys:
            current["key_%s" % (key)] = "value_%s" % (key)

    return result

    Generate a dictionary with fixed random values.
    
st2common/benchmarks/micro/test_fast_deepcopy.py