#NEWLINE# def it_can_add_an_external_relationship( self , add_ext_rel_fixture_ ) : #NEWLINE# #INDENT# ( rels , reltype , url ) = add_ext_rel_fixture_ #NEWLINE# rId = rels . get_or_add_ext_rel ( reltype , url ) #NEWLINE# rel = rels [ rId ] #NEWLINE# assert rel . is_external #NEWLINE# assert ( rel . target_ref == url ) #NEWLINE# assert ( rel . reltype == reltype )