[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Fix unittest fail due to Arabic string that no longer exists.



commit 4c4379e24213e6ca3e3412f9aebc9c900244b84a
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits