def METHOD_NAME(self):
    # TODO Is this really the intended behavior for providing a
    # single node as the argument `nodes`? Shouldn't the function
    # just return the connectivity value itself?
    G = nx.trivial_graph()
    conn = nx.average_degree_connectivity(G, nodes=0)
    assert conn == {0: 0}