#NEWLINE# def test_resource_missing_default_format( self ) : #NEWLINE# #INDENT# res = resource . Resource ( 'fake' , 'missing' , version = 1 ) #NEWLINE# link = resource . render_resource_link ( self . env , self . context , link ) #NEWLINE# html = tag . a ( 'fake:missing' , class_ = 'fake missing' , rel = 'nofollow' , href = '/trac.cgi/fake/missing?version=1' ) #NEWLINE# self . assertEqual ( unicode ( html ) , unicode ( link ) )