summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/robot/test_basic.robot4
-rw-r--r--tests/unit/engines/test_gigablast.py6
2 files changed, 6 insertions, 4 deletions
diff --git a/tests/robot/test_basic.robot b/tests/robot/test_basic.robot
index 522d3dfde..d0074cd00 100644
--- a/tests/robot/test_basic.robot
+++ b/tests/robot/test_basic.robot
@@ -102,10 +102,10 @@ Change search language
Page Should Contain preferences
Go To http://localhost:11111/preferences
List Selection Should Be language Default language
- Select From List language Türkçe (Türkiye) - tr-TR
+ Select From List language Türkçe - tr-TR
Submit Preferences
Go To http://localhost:11111/preferences
- List Selection Should Be language Türkçe (Türkiye) - tr-TR
+ List Selection Should Be language Türkçe - tr-TR
Change autocomplete
Page Should Contain about
diff --git a/tests/unit/engines/test_gigablast.py b/tests/unit/engines/test_gigablast.py
index 74bf89333..127b974b5 100644
--- a/tests/unit/engines/test_gigablast.py
+++ b/tests/unit/engines/test_gigablast.py
@@ -103,7 +103,9 @@ class TestGigablastEngine(SearxTestCase):
<span id="menu2">
<a href="/search?&rxikd=1&qlang=xx"></a>
<a href="/search?&rxikd=1&qlang=en"></a>
- <a href="/search?&rxikd=1&qlang=fr"></a>
+ <a href="/search?&rxikd=1&prepend=gblang%3Aen"></a>
+ <a href="/search?&rxikd=1&qlang=zh_"></a>
+ <a href="/search?&rxikd=1&prepend=gblang%3Azh_tw"></a>
</span>
</body>
</html>
@@ -113,4 +115,4 @@ class TestGigablastEngine(SearxTestCase):
self.assertEqual(type(languages), list)
self.assertEqual(len(languages), 2)
self.assertIn('en', languages)
- self.assertIn('fr', languages)
+ self.assertIn('zh-TW', languages)