#NEWLINE# def test_module_suite( self ) : #NEWLINE# #INDENT# no_media_xml = self . XML_without_media ( 'modules.m0' ) #NEWLINE# self . assertXmlPartialEqual ( no_media_xml , self . app . create_suite ( ) , "././menu[@id='m0']/text" ) #NEWLINE# self . module . set_icon ( 'en' , self . image_path ) #NEWLINE# self . module . set_audio ( 'en' , self . audio_path ) #NEWLINE# XML = self . makeXML ( 'modules.m0' , 'modules.m0.icon' , 'modules.m0.audio' ) #NEWLINE# self . assertXmlPartialEqual ( XML , self . app . create_suite ( ) , "./menu[@id='m0']/display" ) #NEWLINE# self . _assert_app_strings_available ( self . app , 'en' ) #NEWLINE# icon_locale = id_strings . module_icon_locale ( self . module ) #NEWLINE# audio_locale = id_strings . module_audio_locale ( self . module ) #NEWLINE# self . _test_correct_icon_translations ( self . app , self . module , icon_locale ) #NEWLINE# self . _test_correct_audio_translations ( XML . app , self . module , audio_locale )