diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-02-04 21:28:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 21:28:27 +0000 |
commit | 24e2acf88e2bf98b89b934bb4ec6098888ca06a5 (patch) | |
tree | b3e339696899e832741ca57a2fbe4d92d326c20b /tests/unit | |
parent | e5071e59721b30f8302550cd3e4c8c33c986c2ac (diff) | |
parent | 2d5929cc59f30ab4c151c69d797da64c87df2a0a (diff) | |
download | searxng-24e2acf88e2bf98b89b934bb4ec6098888ca06a5.tar.gz searxng-24e2acf88e2bf98b89b934bb4ec6098888ca06a5.zip |
Merge pull request #839 from dalf/docs_searx_utils
[mod] add documentation about searx.utils
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/test_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index 3b79797e3..8ac7db479 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) |