#NEWLINE# def test_simple_fallback( self ) : #NEWLINE# #INDENT# "Fallback to English if current locale doesn't have the image." #NEWLINE# img = pq_img ( self . p , '[[Image:test.jpg]]' , selector = 'img' , locale = 'ja' ) #NEWLINE# eq_ ( 'test.jpg' , img . attr ( 'alt' ) ) #NEWLINE# eq_ ( img . img . file . url , img . attr ( 'src' ) )