def test_load_strings_loads_other_languages():
 locale.getdefaultlocale = (lambda : ('fr_FR', 'UTF-8'))
 strings.load_strings(helpers, 'fr')
 assert (strings._('wait_for_hs') == 'En attente du HS:')

def test_load_strings_loads_other_languages ( ) : locale . getdefaultlocale = ( lambda : ( 'fr_FR' , 'UTF-8' ) ) strings . load_strings ( helpers , 'fr' ) assert ( strings . _ ( 'wait_for_hs' ) == 'En attente du HS:' )
load_strings() loads other languages in different locales .