mirror of
https://github.com/searxng/searxng.git
synced 2025-07-22 12:49:22 +02:00
[brand] searxng is a fork from searx
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
9937a908c0
commit
c6a5cc019a
5 changed files with 27 additions and 33 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue