#NEWLINE# def test_can_match_one_outgoing( self ) : #NEWLINE# #INDENT# ( a , b , c , d , e , rels ) = self . sample_graph #NEWLINE# matches = list ( a . match_outgoing ( ) ) #NEWLINE# assert ( len ( b ) == 1 ) #NEWLINE# assert ( rels [ 0 ] in matches )