'Tests that each call with the same random seed generates the
same graph.'

def test_random_seed(self):

    deg_seq = ([3] * 12)
    G1 = nx.configuration_model(deg_seq, seed=1000)
    G2 = nx.configuration_model(deg_seq, seed=1000)
    assert_true(nx.is_isomorphic(G1, G2))
    G1 = nx.configuration_model(deg_seq, seed=10)
    G2 = nx.configuration_model(deg_seq, seed=10)
    assert_true(nx.is_isomorphic(G1, G2))
