class_docstr: Tests for ThreatIntel
class_docstr_tok: ["Tests","for","ThreatIntel"]
docstr: ThreatIntel - Insert IOC Info
docstr_tok: ["ThreatIntel","-","Insert","IOC","Info"]
code: def test_insert_ioc_info(self):
      """ThreatIntel - Insert IOC Info"""
      record = {"key": "value"}
  
      ioc_type = "ip"
      ioc_value = "ioc_value"
      expected_result = {
          "key": "value",
          "streamalert:ioc": {ioc_type: {ioc_value}},
      }
  
      ThreatIntel._insert_ioc_info(record, ioc_type, ioc_value)
      assert_equal(record, expected_result)
  
imports: from botocore.exceptions import ClientError, ParamValidationError
  from mock import Mock, patch
  from netaddr import IPNetwork
  from nose.tools import assert_equal
  from streamalert.rules_engine.threat_intel import ThreatIntel
label_desc: Use image node_id 8 for calling the TestThreatIntel obj's underlying member method code with example usage: obj.test_insert_ioc_info() without return types