def test_scanlog_should_return_a_list(self): """ Test scanlog(self, id, limit=None, rowId=None, reverse=None) """ opts = self.default_options opts['__modules__'] = dict() sfwebui = SpiderFootWebUi(self.web_default_options, opts) scan_log = sfwebui.scanlog(None, None, None, None) self.assertIsInstance(scan_log, list) scan_log = sfwebui.scanlog('', '', '', '') self.assertIsInstance(scan_log, list)