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)
def tearDown(self): MINIO_CLIENT.remove_object( bucket_name=BUCKET_NAME, object_name="artifacts/mock.txt", )