[tor-commits] [bridgedb/develop] Fix unittest fail due to Arabic string that no longer exists.
isis at torproject.org
isis at torproject.org
Wed May 14 03:42:27 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