diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/test_locales.py | 2 | ||||
-rw-r--r-- | tests/unit/test_webapp.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_locales.py b/tests/unit/test_locales.py index 61561c17b..e18353145 100644 --- a/tests/unit/test_locales.py +++ b/tests/unit/test_locales.py @@ -66,7 +66,7 @@ class TestLocales(SearxTestCase): # B. When user selects a language and a territory the results should be # optimized with first priority on territory and second on language. - # Assume we have an engine that supports the follwoing locales: + # Assume we have an engine that supports the following locales: locale_tag_list = ['zh-CN', 'zh-HK', 'nl-BE', 'fr-CA'] # Examples (Assumption A.) diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index e3ca0e261..9e8bc24ce 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -215,7 +215,7 @@ class ViewsTestCase(SearxTestCase): 'Search language ignored browser preference.', ) - def test_brower_empty_locale(self): + def test_browser_empty_locale(self): result = self.app.get('/preferences', headers={'Accept-Language': ''}) self.assertEqual(result.status_code, 200) self.assertIn( |