def test_thug_url(self, mock_get=None, mock_post=None): additional_params = {"test": True} report = thug_url.ThugUrl( "Thug_URL_Info", self.job_id, self.observable_name, self.observable_classification, additional_params, ).start() self.assertEqual(report.get("success", False), True)
def thug_url_run( analyzer_name, job_id, observable_name, observable_classification, additional_config_params, ): thug_url.ThugUrl( analyzer_name, job_id, observable_name, observable_classification, additional_config_params, ).start()