summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_google.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/engines/test_google.py')
-rw-r--r--tests/unit/engines/test_google.py30
1 files changed, 7 insertions, 23 deletions
diff --git a/tests/unit/engines/test_google.py b/tests/unit/engines/test_google.py
index 5282c6713..a73e9d2be 100644
--- a/tests/unit/engines/test_google.py
+++ b/tests/unit/engines/test_google.py
@@ -205,29 +205,13 @@ class TestGoogleEngine(SearxTestCase):
html = u"""
<html>
<body>
- <table>
- <tbody>
- <tr>
- <td>
- <font>
- <label>
- <span id="ten">English</span>
- </label>
- </font>
- </td>
- <td>
- <font>
- <label>
- <span id="tzh-CN">中文 (简体)</span>
- </label>
- <label>
- <span id="tzh-TW">中文 (繁體)</span>
- </label>
- </font>
- </td>
- </tr>
- </tbody>
- </table>
+ <div id="langSec">
+ <div>
+ <input name="lr" data-name="english" value="lang_en" />
+ <input name="lr" data-name="中文 (简体)" value="lang_zh-CN" />
+ <input name="lr" data-name="中文 (繁體)" value="lang_zh-TW" />
+ </div>
+ </div>
</body>
</html>
"""