def test_scaneventresultsunique_should_return_a_list(self): """ Test scaneventresultsunique(self, id, eventType, filterfp=False) """ opts = self.default_options opts['__modules__'] = dict() sfwebui = SpiderFootWebUi(self.web_default_options, opts) scan_results = sfwebui.scaneventresultsunique(None, None, None) self.assertIsInstance(scan_results, list) scan_results = sfwebui.scaneventresultsunique('', '', '') self.assertIsInstance(scan_results, list)