[tor-commits] [bridgedb/master] Fix unittest fail due to Arabic string that no longer exists.
isis at torproject.org
isis at torproject.org
Fri May 16 18:52:52 UTC 2014
commit 4c4379e24213e6ca3e3412f9aebc9c900244b84a
Author: Isis Lovecruft <isis at torproject.org>
Date: Mon May 5 19:51:52 2014 +0000
Fix unittest fail due to Arabic string that no longer exists.
---
lib/bridgedb/test/test_HTTPServer.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/bridgedb/test/test_HTTPServer.py b/lib/bridgedb/test/test_HTTPServer.py
index 0de233d..570fe9c 100644
--- a/lib/bridgedb/test/test_HTTPServer.py
+++ b/lib/bridgedb/test/test_HTTPServer.py
@@ -596,7 +596,8 @@ class WebResourceBridgesTests(unittest.TestCase):
page = self.bridgesResource.render(request)
self.assertSubstring("direction: rtl", page)
self.assertSubstring(
- "إذا ÙÙ
ÙعÙ
٠تÙر بÙØ¬Ø§Ø Ù
عÙØ Ùجب عÙÙ٠ارسا٠برÙد Ø¥ÙÙترÙÙ٠إÙÙ", page)
+ # "I need an alternative way to get 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