def METHOD_NAME(self, reader, param, expect):
    """Test merge attributes."""
    data = xr.DataArray(
        np.ones(10),
        dims=("y"),
        attrs={"type": "test_data"},
    )
    dataset_info = {"name": "test"}
    data = reader._merge_attributes(data, dataset_info)
    assert data.attrs[param] == expect