mirror of
https://github.com/searxng/searxng.git
synced 2025-08-05 19:36:45 +02:00
[fix] cleanup: rename searx
leftovers to SearXNG
(#5049)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
02cbdf468b
commit
649a8dd577
19 changed files with 33 additions and 35 deletions
|
@ -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 = """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue