SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
tests: minor fixes (#1056)
bcoles651705f2c3c7
diff --git a/test/unit/modules/test_sfp_template.py b/test/unit/modules/test_sfp_template.pyindex 39e49ded..bb1348d5 100644--- a/test/unit/modules/test_sfp_template.py+++ b/test/unit/modules/test_sfp_template.py@@ -54,6 +54,7 @@ class TestModuletemplate(unittest.TestCase):module = sfp_template()self.assertIsInstance(module.producedEvents(), list)+ @unittest.skip("todo")def test_handleEvent(self):"""Test handleEvent(self, event)diff --git a/test/unit/test_spiderfootplugin.py b/test/unit/test_spiderfootplugin.pyindex 27587887..addc0b55 100644--- a/test/unit/test_spiderfootplugin.py+++ b/test/unit/test_spiderfootplugin.py@@ -215,12 +215,8 @@ class TestSpiderFootPlugin(unittest.TestCase):Test with source event"""sfp = SpiderFootPlugin()-- class DatabaseStub:- def scanInstanceGet(self, scanId):- return [None, None, None, None, None, None]-- sfp.__sfdb__ = DatabaseStub()+ sfdb = SpiderFootDb(self.default_options, False)+ sfp.setDbh(sfdb)event_type = 'ROOT'event_data = 'test data'