[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Fix two unittests for RTL rendering broken by Arabic translation changes.
commit a5d4e5949cac9d8f17418f6b7f225b1400acab6c
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Fri Jul 25 23:08:36 2014 +0000
Fix two unittests for RTL rendering broken by Arabic translation changes.
---
lib/bridgedb/test/test_HTTPServer.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/bridgedb/test/test_HTTPServer.py b/lib/bridgedb/test/test_HTTPServer.py
index 91ab17e..c6b521f 100644
--- a/lib/bridgedb/test/test_HTTPServer.py
+++ b/lib/bridgedb/test/test_HTTPServer.py
@@ -597,7 +597,7 @@ class WebResourceBridgesTests(unittest.TestCase):
self.assertSubstring("direction: rtl", page)
self.assertSubstring(
# "I need an alternative way to get bridges!"
- "اÙ?ا بØاجة Ø¥Ù?Ù? Ù?سÙ?Ù?Ø© بدÙ?Ù?Ø© Ù?Ù?ØصÙ?Ù? عÙ?Ù? اÙ?جسÙ?ر!", page)
+ "Ø£Øتاج Ø¥Ù?Ù? Ù?سÙ?Ù?Ø© بدÙ?Ù?Ø© Ù?Ù?ØصÙ?Ù? عÙ?Ù? bridges", page)
for bridgeLine in self.parseBridgesFromHTMLPage(page):
# Check that each bridge line had the expected number of fields:
@@ -618,8 +618,7 @@ class WebResourceBridgesTests(unittest.TestCase):
self.assertSubstring("direction: rtl", page)
self.assertSubstring(
# "I need an alternative way to get bridges!"
- "بÙ? Û?Ú© راÙ? دÛ?گر براÛ? درÛ?اÙ?ت Ù¾Ù?â??Ù?ا اØتÛ?اج دارÙ?!",
- page)
+ "Ø£Øتاج Ø¥Ù?Ù? Ù?سÙ?Ù?Ø© بدÙ?Ù?Ø© Ù?Ù?ØصÙ?Ù? عÙ?Ù? 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