#NEWLINE# def it_knows_when_it_is_external( self ) : #NEWLINE# #INDENT# cases = ( RTM . INTERNAL , RTM . EXTERNAL ) #NEWLINE# expected_values = ( False , True ) #NEWLINE# for ( target_mode , expected_value ) in zip ( cases , expected_values ) : #NEWLINE# #INDENT# rel_elm = CT_Relationship . new ( 'rId9' , 'ReLtYpE' , 'docProps/core.xml' , target_mode ) #NEWLINE# srel = _SerializedRelationship ( None , rel_elm ) #NEWLINE# assert ( srel . is_external is expected_value )