[tor-commits] [bridgedb/develop] Fix an additional unittest broken by Arabic translation changes.
isis at torproject.org
isis at torproject.org
Sat Jul 26 00:54:37 UTC 2014
commit 45213d83ea2f8dffe5f289270e4cb8c790248071
Author: Isis Lovecruft <isis at torproject.org>
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:
More information about the tor-commits
mailing list