'Create as many revisions as requested, and return a list of them.'

def create_revisions(self, num, creator, document=None):

    create_new_documents = (not document)
    revisions_created = []
    for i in range(1, (1 + num)):
        if (create_new_documents is True):
            document = create_document(save=True)
        new_revision = create_revision(title='Doc    id    {}    Revision    {}'.format(document.id, i), document=document, creator=creator, save=True)
        revisions_created.append(new_revision)
    return revisions_created
