def create_fixtures(self):
        for fixture in self.FIXTURES:
            db_api.image_create(self.context, fixture)
            # We write a fake image file to the filesystem
            with open("%s/%s" % (self.test_dir, fixture['id']), 'wb') as image:
                image.write("chunk00000remainder")
                image.flush()
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/tests/unit/test_clients.py/TestClient.create_fixtures/original