diff options
author | jazzzooo <38244149+jazzzooo@users.noreply.github.com> | 2023-09-15 00:53:03 -0700 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-18 16:20:27 +0200 |
commit | 223b3487c38a2390ad936943266a44da9cbb810a (patch) | |
tree | 6dde6498a4c37731427715d01b6314b09be52897 /tests | |
parent | a9b6963971327605db1509795be7795dc7401f3f (diff) | |
download | searxng-223b3487c38a2390ad936943266a44da9cbb810a.tar.gz searxng-223b3487c38a2390ad936943266a44da9cbb810a.zip |
[fix] spelling
Diffstat (limited to 'tests')
-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( |