#NEWLINE# def test_single_source_shortest_path( self ) : #NEWLINE# #INDENT# p = nx . single_source_shortest_path ( self . cycle , 0 ) #NEWLINE# assert_equal ( p [ 3 ] , [ 0 , 1 , 2 , 3 ] ) #NEWLINE# p = nx . single_source_shortest_path ( self . cycle , 0 , cutoff = 0 ) #NEWLINE# assert_equal ( p , { #NEWLINE# #INDENT# 0 : [ 0 ] , #NEWLINE# #UNINDENT# } )