#NEWLINE# def _test_correct_icon_translations( self , app , menu , menu_locale_id ) : #NEWLINE# #INDENT# self . _assert_valid_media_translation ( app , 'en' , app , self . image_path ) #NEWLINE# self . _assert_valid_media_translation ( app , 'default' , menu_locale_id , self . image_path ) #NEWLINE# with self . assertRaises ( KeyError ) : #NEWLINE# #INDENT# self . _assert_valid_media_translation ( app , 'hin' , menu_locale_id , self . image_path ) #NEWLINE# #UNINDENT# menu . set_icon ( 'hin' , self . hindi_image ) #NEWLINE# self . _assert_valid_media_translation ( app , 'hin' , menu_locale_id , self . hindi_image )