summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-02-04 21:28:27 +0000
committerGitHub <noreply@github.com>2022-02-04 21:28:27 +0000
commit24e2acf88e2bf98b89b934bb4ec6098888ca06a5 (patch)
treeb3e339696899e832741ca57a2fbe4d92d326c20b /tests
parente5071e59721b30f8302550cd3e4c8c33c986c2ac (diff)
parent2d5929cc59f30ab4c151c69d797da64c87df2a0a (diff)
Merge pull request #839 from dalf/docs_searx_utils
[mod] add documentation about searx.utils
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py
index 3b79797e..8ac7db47 100644
--- a/tests/unit/test_utils.py
+++ b/tests/unit/test_utils.py
@@ -128,7 +128,7 @@ class TestUtils(SearxTestCase):
class TestHTMLTextExtractor(SearxTestCase):
def setUp(self):
- self.html_text_extractor = utils.HTMLTextExtractor()
+ self.html_text_extractor = utils._HTMLTextExtractor()
def test__init__(self):
self.assertEqual(self.html_text_extractor.result, [])
@@ -149,7 +149,7 @@ class TestHTMLTextExtractor(SearxTestCase):
def test_invalid_html(self):
text = '<p><b>Lorem ipsum</i>dolor sit amet</p>'
- with self.assertRaises(utils.HTMLTextExtractorException):
+ with self.assertRaises(utils._HTMLTextExtractorException):
self.html_text_extractor.feed(text)