Unverified Commit 45213d83 authored by Isis Lovecruft's avatar Isis Lovecruft
Browse files

Fix an additional unittest broken by Arabic translation changes.

parent a5d4e594
...@@ -617,8 +617,10 @@ class WebResourceBridgesTests(unittest.TestCase): ...@@ -617,8 +617,10 @@ class WebResourceBridgesTests(unittest.TestCase):
page = self.bridgesResource.render(request) page = self.bridgesResource.render(request)
self.assertSubstring("direction: rtl", page) self.assertSubstring("direction: rtl", page)
self.assertSubstring( self.assertSubstring(
# "I need an alternative way to get bridges!" # "How to use the above bridge lines" (since there should be
"أحتاج إلى وسيلة بديلة للحصول على bridges", page) # bridges in this response, we don't tell them about alternative
# mechanisms for getting bridges)
"چگونگی از پل‌های خود استفاده کنید", page)
for bridgeLine in self.parseBridgesFromHTMLPage(page): for bridgeLine in self.parseBridgesFromHTMLPage(page):
# Check that each bridge line had the expected number of fields: # Check that each bridge line had the expected number of fields:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment