summaryrefslogtreecommitdiff
path: root/tests/unit/test_webapp.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-04-25 14:30:18 +0200
committerGitHub <noreply@github.com>2021-04-25 14:30:18 +0200
commitd20f2822d03e67b436973c8520a288fcc76c409a (patch)
tree27b94ef935cf5eae57e7be6478c665fa3c5c5c32 /tests/unit/test_webapp.py
parenteebac31ccdb052711abb9bce6cbb888ce059f115 (diff)
parent28b25185c51d320c8124292a6194e4c34fa9c3e8 (diff)
Merge pull request #25 from return42/brand-001
SearxNG brand
Diffstat (limited to 'tests/unit/test_webapp.py')
-rw-r--r--tests/unit/test_webapp.py4
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')