def createFakeData():
    data = []
    for i in range(100):
        # create some datestamp spread
        year = 2004
        month = i % 12 + 1
        day = i % 28 + 1
        hour = i % 24
        minute = i % 60
        second = i % 60
        fake_element = None
        datestamp = datetime(year, month, day, hour, minute, second)
        data.append((common.Header(fake_element, str(i), datestamp, '', False),
                     common.Metadata(fake_element, {'title': ['Title %s' % i]}),
                     None))
    return data
dataset/ETHPy150Open infrae/pyoai/src/oaipmh/tests/fakeserver.py/createFakeData/original