diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-31 11:24:45 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-02-01 06:28:26 +0100 |
commit | fb9eedbf40410a5558bfc03b4c50f7ff41b023b4 (patch) | |
tree | 1b722cca8af208f9e267cd3b1e18fc26a89cc759 /tests | |
parent | b93711b45da7e8d851be5a3d55ebf6fbe5423efd (diff) | |
download | searxng-fb9eedbf40410a5558bfc03b4c50f7ff41b023b4.tar.gz searxng-fb9eedbf40410a5558bfc03b4c50f7ff41b023b4.zip |
[enh] introduce /help route
Translation will be implemented in the future.
For now the "en" in /help/en/<pagename> is hardcoded.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test_webapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py index 60d59ccf8..cd9472135 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -174,7 +174,7 @@ 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 SearXNG</h1>', result.data) |