SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Unit tests: Minor test updates in light of upcoming correlation-driven changes.
smicallefd061df9bc97a
diff --git a/test/unit/modules/test_sfp_dnsresolve.py b/test/unit/modules/test_sfp_dnsresolve.pyindex 1f06504f..5ed8037d 100644--- a/test/unit/modules/test_sfp_dnsresolve.py+++ b/test/unit/modules/test_sfp_dnsresolve.py@@ -221,6 +221,9 @@ class TestModuleDnsResolve(unittest.TestCase):def test_handleEvent_event_data_raw_rir_data_containing_subdomain_should_return_internet_name_event(self):"""Test handleEvent(self, event)++ Raises:+ Exception: TBD"""sf = SpiderFoot(self.default_options)diff --git a/test/unit/spiderfoot/test_spiderfootdb.py b/test/unit/spiderfoot/test_spiderfootdb.pyindex b79e552f..8de9c73e 100644--- a/test/unit/spiderfoot/test_spiderfootdb.py+++ b/test/unit/spiderfoot/test_spiderfootdb.py@@ -413,7 +413,7 @@ class TestSpiderFootDb(unittest.TestCase):sfdb = SpiderFootDb(self.default_options, False)instance_id = "example instance id"- invalid_types = [None, list(), dict()]+ invalid_types = [None, dict()]for invalid_type in invalid_types:with self.subTest(invalid_type=invalid_type):with self.assertRaises(TypeError):