From 223b3487c38a2390ad936943266a44da9cbb810a Mon Sep 17 00:00:00 2001 From: jazzzooo <38244149+jazzzooo@users.noreply.github.com> Date: Fri, 15 Sep 2023 00:53:03 -0700 Subject: [fix] spelling --- tests/unit/test_locales.py | 2 +- tests/unit/test_webapp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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( -- cgit v1.2.3-54-g00ecf