#NEWLINE# def it_can_find_a_relationship_by_rId( self ) : #NEWLINE# #INDENT# rel = Mock ( name = 'rel' , rId = 'foobar' ) #NEWLINE# rels = Relationships ( None ) #NEWLINE# rels [ 'foobar' ] = rel #NEWLINE# assert ( rels [ 'foobar' ] == rel )