Beispiel #1
0
def tor_run(
    analyzer_name,
    job_id,
    observable_name,
    observable_classification,
    additional_config_params,
):
    tor.run(
        analyzer_name,
        job_id,
        observable_name,
        observable_classification,
        additional_config_params,
    )
Beispiel #2
0
 def test_tor(self, mock_get=None, mock_post=None):
     report = tor.run(
         "TorProject",
         self.job_id,
         self.observable_name,
         self.observable_classification,
         {},
     )
     self.assertEqual(report.get("success", False), True)
Beispiel #3
0
 def test_tor(self):
     report = tor.run("TorProject", self.job_id, self.observable_name,
                      self.observable_classification, {})
     self.assertEqual(report.get('success', False), True)