#NEWLINE# def test_link_edit_hash_name( self ) : #NEWLINE# #INDENT# 'Internal link for inexistent page with hash and name.' #NEWLINE# link = pq_link ( self . p , '[[A new page#section 3|this name]]' ) #NEWLINE# eq_ ( '/en-US/kb/new?title=A+new+page#section_3' , link . attr ( 'href' ) ) #NEWLINE# eq_ ( 'this name' , link . text ( ) )