mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[fix] cleanup: rename searx leftovers to SearXNG (#5049)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
general:
|
||||
debug: false
|
||||
instance_name: "searx"
|
||||
instance_name: "SearXNG"
|
||||
|
||||
search:
|
||||
safe_search: 0
|
||||
|
||||
@@ -23,10 +23,10 @@ class TestUtils(SearxTestCase):
|
||||
self.assertIsNotNone(utils.gen_useragent())
|
||||
self.assertTrue(utils.gen_useragent().startswith('Mozilla'))
|
||||
|
||||
def test_searx_useragent(self):
|
||||
self.assertIsInstance(utils.searx_useragent(), str)
|
||||
self.assertIsNotNone(utils.searx_useragent())
|
||||
self.assertTrue(utils.searx_useragent().startswith('searx'))
|
||||
def test_searxng_useragent(self):
|
||||
self.assertIsInstance(utils.searxng_useragent(), str)
|
||||
self.assertIsNotNone(utils.searxng_useragent())
|
||||
self.assertTrue(utils.searxng_useragent().startswith('SearXNG'))
|
||||
|
||||
def test_html_to_text(self):
|
||||
html_str = """
|
||||
|
||||
Reference in New Issue
Block a user