def METHOD_NAME(minio_inputs):
    """Testing upload of folder to minio."""
    minio_inputs["source"] = tmpdir
    with mock.patch.object(Executor, "upload_artifacts_to_minio") as client:
        client.return_value = []
        upload_to_minio(minio_inputs)
        client.asser_called_once()