def test_cuckoo_exe(self, mock_get=None, mock_post=None): additional_params = {"max_poll_tries": 1, "max_post_tries": 1} report = cuckoo_scan.run( "Cuckoo_Scan", self.job_id, self.filepath, self.filename, self.md5, additional_params, ) self.assertEqual(report.get("success", False), True)
def cuckoo_run(analyzer_name, job_id, filepath, filename, md5, additional_config_params): cuckoo_scan.run(analyzer_name, job_id, filepath, filename, md5, additional_config_params)
def test_cuckoo_exe(self): report = cuckoo_scan.run("Cuckoo_Scan", self.job_id, self.filepath, self.filename, self.md5, {}) self.assertEqual(report.get('success', False), True)