class_docstr: Test shared Alert class.
docstr: Alert Class - Create Alert from Dynamo Record
docstr_tok: ["Alert","Class","-","Create","Alert","from","Dynamo","Record"]
code: def test_create_from_dynamo_record(self):
      """Alert Class - Create Alert from Dynamo Record"""
      alert = self._customized_alert()
      # Converting to a Dynamo record and back again should result in the exact same alert
      record = alert.dynamo_record()
      new_alert = Alert.create_from_dynamo_record(record)
      assert_equal(alert.dynamo_record(), new_alert.dynamo_record())
  
imports: import copy
  from datetime import datetime, timedelta
  import json
  from nose.tools import assert_equal, assert_false, assert_is_instance, assert_not_in, assert_raises, assert_true
  from streamalert.shared.alert import Alert, AlertCreationError
label_desc: Use image node_id 12 for calling the TestAlert obj's underlying member method code with example usage: obj.test_create_from_dynamo_record() without return types