Example #1
0
 def empty_bucket(self):
     for obj in MINIO_CLIENT.list_objects(BUCKET_NAME,
                                          prefix="",
                                          recursive=True):
         MINIO_CLIENT.remove_object(BUCKET_NAME, obj.object_name)
Example #2
0
 def tearDown(self):
     MINIO_CLIENT.remove_object(
         bucket_name=BUCKET_NAME,
         object_name="artifacts/mock.txt",
     )