

def setUp(self):
    super(TestMigrateGuids, self).setUp()
    self.clear_guids()
    self.project = ProjectFactory()
    self.paths = ['peppers', 'sausage', 'pepperoni']
    self.legacy_objs = [OsfGuidFile(node=self.project, name=path) for path in self.paths]
    for obj in self.legacy_objs:
        obj.save()

dataset/ETHPy150Open CenterForOpenScience/osf.io/scripts/osfstorage/migrate_guids.py TestMigrateGuids.setUp/original