def METHOD_NAME(minio_inputs):
    """Test upload if minio access key is missing."""
    os.environ["MINIO_SECRET_KEY"] = "dummy"
    expected_exception_msg = "Environment variable MINIO_ACCESS_KEY not found"
    with pytest.raises(ValueError, match=expected_exception_msg):
        upload_to_minio(minio_inputs)
    os.environ.pop("MINIO_SECRET_KEY")