diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-25 11:42:42 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-25 11:42:42 +0200 |
commit | c6a5cc019ae27b1892b38afd33090653d07f33be (patch) | |
tree | f74dd4f0fbb54dafd175a940294236cc2e0a5a03 /tests/unit/test_webapp.py | |
parent | 9937a908c0de3b8fcbaf155e0e46de1da2d4a1cb (diff) | |
download | searxng-c6a5cc019ae27b1892b38afd33090653d07f33be.tar.gz searxng-c6a5cc019ae27b1892b38afd33090653d07f33be.zip |
[brand] searxng is a fork from searx
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'tests/unit/test_webapp.py')
-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 d3498f51a..9d83b7596 100644 --- a/tests/unit/test_webapp.py +++ b/tests/unit/test_webapp.py @@ -96,7 +96,7 @@ class ViewsTestCase(SearxTestCase): def test_search_empty_html(self): result = self.app.post('/search', data={'q': ''}) self.assertEqual(result.status_code, 200) - self.assertIn(b'<span class="instance pull-left"><a href="/">searx</a></span>', result.data) + self.assertIn(b'<span class="instance pull-left"><a href="/">searxng</a></span>', result.data) def test_search_empty_json(self): result = self.app.post('/search', data={'q': '', 'format': 'json'}) @@ -186,7 +186,7 @@ class ViewsTestCase(SearxTestCase): def test_about(self): result = self.app.get('/about') self.assertEqual(result.status_code, 200) - self.assertIn(b'<h1>About <a href="/">searx</a></h1>', result.data) + self.assertIn(b'<h1>About <a href="/">searxng</a></h1>', result.data) def test_preferences(self): result = self.app.get('/preferences') |