#NEWLINE# def test_write_hyperlink_internal_3( self ) : #NEWLINE# #INDENT# 'Test the _write_hyperlink() method' #NEWLINE# self . worksheet . _write_hyperlink_internal ( 17 , 0 , 'Sheet2!A1' , 'Sheet2!A1' , 'Screen Tip 1' ) #NEWLINE# exp = '<hyperlink ref="A18" location="Sheet2!A1" tooltip="Screen Tip 1" display="Sheet2!A1"/>' #NEWLINE# got = self . fh . getvalue ( ) #NEWLINE# self . assertEqual ( got , exp )