[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/develop] Fix an additional unittest broken by Arabic translation changes.



commit 45213d83ea2f8dffe5f289270e4cb8c790248071
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Sat Jul 26 00:53:30 2014 +0000

    Fix an additional unittest broken by Arabic translation changes.
---
 lib/bridgedb/test/test_HTTPServer.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/test/test_HTTPServer.py b/lib/bridgedb/test/test_HTTPServer.py
index c6b521f..42fbdef 100644
--- a/lib/bridgedb/test/test_HTTPServer.py
+++ b/lib/bridgedb/test/test_HTTPServer.py
@@ -617,8 +617,10 @@ class WebResourceBridgesTests(unittest.TestCase):
         page = self.bridgesResource.render(request)
         self.assertSubstring("direction: rtl", page)
         self.assertSubstring(
-            # "I need an alternative way to get bridges!"
-            "أحتاج Ø¥Ù?Ù? Ù?سÙ?Ù?Ø© بدÙ?Ù?Ø© Ù?Ù?حصÙ?Ù? عÙ?Ù? bridges", page)
+            # "How to use the above bridge lines" (since there should be
+            # bridges in this response, we don't tell them about alternative
+            # mechanisms for getting bridges)
+            "Ú?Ú¯Ù?Ù?Ú¯Û? از Ù¾Ù?â??Ù?اÛ? Ø®Ù?د استÙ?ادÙ? Ú©Ù?Û?د", page)
 
         for bridgeLine in self.parseBridgesFromHTMLPage(page):
             # Check that each bridge line had the expected number of fields:

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits