Exemple #1
0
def maxmind_run(
    analyzer_name,
    job_id,
    observable_name,
    observable_classification,
    additional_config_params,
):
    maxmind.run(
        analyzer_name,
        job_id,
        observable_name,
        observable_classification,
        additional_config_params,
    )
 def test_maxmind(self, mock_get=None, mock_post=None):
     report = maxmind.run(
         "MaxMindDB",
         self.job_id,
         self.observable_name,
         self.observable_classification,
         {},
     )
     self.assertEqual(report.get("success", False), True)
Exemple #3
0
 def test_maxmind(self):
     report = maxmind.run("MaxMindDB", self.job_id, self.observable_name,
                          self.observable_classification, {})
     self.assertEqual(report.get('success', False), True)