From e4f0e5e8b386c8a705b1bd1476bb396d4021c79e Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 2 Sep 2014 17:26:59 -0700 Subject: [PATCH] fixed test_load_strings_loads_other_languages, because french strings were updated --- test/onionshare_strings_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/onionshare_strings_test.py b/test/onionshare_strings_test.py index 6eea5b96..16a65023 100644 --- a/test/onionshare_strings_test.py +++ b/test/onionshare_strings_test.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """ OnionShare | https://onionshare.org/ @@ -34,6 +35,5 @@ def test_load_strings_loads_other_languages(): "load_strings() loads other languages in different locales" locale.getdefaultlocale = lambda: ('fr_FR', 'UTF-8') strings.load_strings("fr") - assert strings._('calculating_sha1') == "Calculer un hachage SHA-1." - + assert strings._('calculating_sha1') == "Calculer une somme de contrĂ´le SHA-1."