class_docstr: Test shared Alert class.
docstr: Alert Class - AlertCreationError raised for an invalid Dynamo Record
docstr_tok: ["Alert","Class","-","AlertCreationError","raised","for","an","invalid","Dynamo","Record"]
code: def test_create_from_dynamo_record_invalid(self):
      """Alert Class - AlertCreationError raised for an invalid Dynamo Record"""
      assert_raises(
          AlertCreationError, Alert.create_from_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 13 for calling the TestAlert obj's underlying member method code with example usage: obj.test_create_from_dynamo_record_invalid() without return types