diff options
author | Alexandre Flament <alex@al-f.net> | 2022-02-05 08:52:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-05 08:52:19 +0100 |
commit | bf987bb608cd3a2aea7990fb8de197a3ebd2907d (patch) | |
tree | 3067f730ebcbbce3d8e55f9e4c54f09376a7ff66 /tests | |
parent | 24e2acf88e2bf98b89b934bb4ec6098888ca06a5 (diff) | |
parent | 91527fbd6b4c155d63447dd27fb9f423ff4bfff6 (diff) | |
download | searxng-bf987bb608cd3a2aea7990fb8de197a3ebd2907d.tar.gz searxng-bf987bb608cd3a2aea7990fb8de197a3ebd2907d.zip |
Merge pull request #848 from not-my-profile/help-route
Introduce `/help` route
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test_webapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index 7861a3b43..70ebd447b 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -174,9 +174,9 @@ class ViewsTestCase(SearxTestCase): self.assertIn(b'<description>first test content</description>', result.data) def test_about(self): - result = self.app.get('/about') + result = self.app.get('/help/en/about') self.assertEqual(result.status_code, 200) - self.assertIn(b'<h1>About <a href="/">searxng</a></h1>', result.data) + self.assertIn(b'<h1>About SearXNG</h1>', result.data) def test_health(self): result = self.app.get('/healthz') |