commit a5d4e5949cac9d8f17418f6b7f225b1400acab6c
Author: Isis Lovecruft <isis(a)torproject.org>
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: