#NEWLINE# def test_equal_nodes( self ) : #NEWLINE# #INDENT# G = nx . complete_graph ( 3 ) #NEWLINE# G . node [ 0 ] [ 'community' ] = 0 #NEWLINE# G . node [ 1 ] [ 'community' ] = 0 #NEWLINE# G . node [ 2 ] [ 'community' ] = 0 #NEWLINE# self . test ( self , [ ( 0 , 0 ) ] , [ ( 0 , 0 , 4 ) ] )