Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Prevent irrelevant Beautiful Soup warnings

Brendan Colesfa7d4747131e
diff --git a/test/unit/test_spiderfoot.py b/test/unit/test_spiderfoot.py
index 39d70b32..71ffad19 100644
--- a/test/unit/test_spiderfoot.py
+++ b/test/unit/test_spiderfoot.py
@@ -829,7 +829,7 @@ class TestSpiderFoot(unittest.TestCase):
"""
sf = SpiderFoot(self.default_options)
- parse_links = sf.parseLinks('url', 'data', 'domains')
+ parse_links = sf.parseLinks('url', 'example html content', 'domains')
self.assertIsInstance(parse_links, dict)
def test_parse_links_invalid_url_should_return_a_dict(self):
@@ -838,7 +838,7 @@ class TestSpiderFoot(unittest.TestCase):
"""
sf = SpiderFoot(self.default_options)
- parse_links = sf.parseLinks(None, 'data', 'domains')
+ parse_links = sf.parseLinks(None, 'example html content', 'domains')
self.assertIsInstance(parse_links, dict)
def test_parse_links_invalid_data_should_return_a_dict(self):
@@ -856,7 +856,7 @@ class TestSpiderFoot(unittest.TestCase):
"""
sf = SpiderFoot(self.default_options)
- parse_links = sf.parseLinks('url', 'data', None)
+ parse_links = sf.parseLinks('url', 'example html content', None)
self.assertEqual(dict, type(parse_links))
def test_url_encode_unicode_should_return_a_string(self):