From c6a5cc019ae27b1892b38afd33090653d07f33be Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 25 Apr 2021 11:42:42 +0200 Subject: [brand] searxng is a fork from searx Signed-off-by: Markus Heiser --- tests/robot/__init__.py | 2 +- tests/unit/test_webapp.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/robot/__init__.py b/tests/robot/__init__.py index 038a3196f..6e7897118 100644 --- a/tests/robot/__init__.py +++ b/tests/robot/__init__.py @@ -20,7 +20,7 @@ def test_404(browser): def test_about(browser): browser.visit(url) browser.click_link_by_text('about') - assert browser.is_text_present('Why use searx?') + assert browser.is_text_present('Why use it?') def test_preferences(browser): 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'searx', result.data) + self.assertIn(b'searxng', 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'

About searx

', result.data) + self.assertIn(b'

About searxng

', result.data) def test_preferences(self): result = self.app.get('/preferences') -- cgit v1.2.3