#NEWLINE# def it_can_establish_a_relationship_to_another_part( self , relate_to_part_fixture ) : #NEWLINE# #INDENT# ( part , target_ , reltype_ , rId_ ) = relate_to_part_fixture #NEWLINE# rId = part . relate_to ( target_ , reltype_ ) #NEWLINE# part . rels . get_or_add . assert_called_once_with ( reltype_ , target_ ) #NEWLINE# assert ( rId is target_ )