def gen_time():

    random.seed()
    return datetime.time(
        random.randint(0, 23),
        random.randint(0, 59),
        random.randint(0, 59),
        random.randint(0, 999999),
    )
Generates a random time.
dataset/ETHPy150Open omaciel/fauxfactory/fauxfactory/__init__.py/gen_time