summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-03-19 12:00:03 +0100
committerGitHub <noreply@github.com>2022-03-19 12:00:03 +0100
commitb6920351200dc7d56ba4529758073ea2da219004 (patch)
tree27ce25bb7776b9e3a7da613d8043c4f4ba3e80e3 /tests
parent6ccd557650a0892a3c59ac157a781f9a12beb56e (diff)
parentd597f36e07ec9e144fabce70fcfb0183107646f6 (diff)
Merge pull request #894 from dalf/simple-aria-1
[enh] simple: basic ARIA fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py
index 6385d187..d3eaa6a5 100644
--- a/tests/unit/test_webapp.py
+++ b/tests/unit/test_webapp.py
@@ -198,7 +198,7 @@ class ViewsTestCase(SearxTestCase):
self.assertIn(
b'<input type="checkbox" id="checkbox_general" name="category_general" checked="checked"/>', result.data
)
- self.assertIn(b'<legend>Interface language</legend>', result.data)
+ self.assertIn(b'<legend id="pref_locale">Interface language</legend>', result.data)
def test_browser_locale(self):
result = self.app.get('/preferences', headers={'Accept-Language': 'zh-tw;q=0.8'})