Beispiel #1
0
 def test_vt3_scan_exe(self, mock_get=None, mock_post=None):
     additional_params = {"max_tries": 1}
     report = vt3_scan.run(
         "VT_v3_Scan",
         self.job_id,
         self.filepath,
         self.filename,
         self.md5,
         additional_params,
     )
     self.assertEqual(report.get("success", False), True)
Beispiel #2
0
def vt3scan_run(analyzer_name, job_id, filepath, filename, md5,
                additional_config_params):
    vt3_scan.run(analyzer_name, job_id, filepath, filename, md5,
                 additional_config_params)
Beispiel #3
0
 def test_vt3_scan_exe(self):
     report = vt3_scan.run("VT_v3_Scan", self.job_id, self.filepath,
                           self.filename, self.md5, {})
     self.assertEqual(report.get('success', False), True)