[Pkg-anonymity-tools] [onionshare] 74/140: fixed test_load_strings_loads_other_languages, because french strings were updated

Ulrike Uhlig u-guest at moszumanska.debian.org
Mon Sep 29 20:33:49 UTC 2014


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository onionshare.

commit e4f0e5e8b386c8a705b1bd1476bb396d4021c79e
Author: Micah Lee <micah at micahflee.com>
Date:   Tue Sep 2 17:26:59 2014 -0700

    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 6eea5b9..16a6502 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."
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git



More information about the Pkg-anonymity-tools mailing list