class_docstr: Test Artifact class
class_docstr_tok: ["Test","Artifact","class"]
docstr: Artifact - Test record property in the Artifact class
docstr_tok: ["Artifact","-","Test","record","property","in","the","Artifact","class"]
code: def test_record(self):  # pylint: disable=no-self-use
      """Artifact - Test record property in the Artifact class"""
      artifact = Artifact(
          normalized_type="test_normalized_type",
          value="test_value",
          source_type="test_source_type",
          record_id="test_record_id",
          function=None,
      )
      expected_result = {
          "function": "None",
          "streamalert_record_id": "test_record_id",
          "source_type": "test_source_type",
          "type": "test_normalized_type",
          "value": "test_value",
      }
  
      assert_equal(artifact.artifact, expected_result)
  
file_path: streamalert/tests/unit/streamalert/shared/test_artifact_extractor.py
imports: from mock import call, patch
  from nose.tools import assert_equal
  from streamalert.shared.artifact_extractor import Artifact, ArtifactExtractor
  from streamalert.shared.firehose import FirehoseClient
  from tests.unit.streamalert.shared.test_utils import generate_artifacts, generate_categorized_records, MOCK_RECORD_ID
label_desc: Use image node_id 1 for calling the TestArtifact obj's underlying member method code with example usage: obj.test_record() without return types