def METHOD_NAME(vars_local):
    """Tests that neighborhood data is generated correctly."""
    url, url_seg = vars_local
    nbr = nbrhood.NeighborhoodFeatures(
        url=url, radius=1, offset=OFF, segment_url=url_seg
    )
    df_nbr = nbr.fit([2], 5)
    assert df_nbr.shape == (10, 30)  # 5on, 5off for each swc
    assert not df_nbr.empty