Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
BridgeDB
Commits
45213d83
Unverified
Commit
45213d83
authored
Jul 26, 2014
by
Isis Lovecruft
Browse files
Fix an additional unittest broken by Arabic translation changes.
parent
a5d4e594
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/bridgedb/test/test_HTTPServer.py
View file @
45213d83
...
@@ -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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment