class_docstr: Test shared Alert class.
docstr: Alert Class - Dynamo Record
docstr_tok: ["Alert","Class","-","Dynamo","Record"]
code: def test_dynamo_record(self):
      """Alert Class - Dynamo Record"""
      # Make sure there are no empty strings nor sets (not allowed in Dynamo)
      alert = Alert(
          "test_rule",
          {},
          {"aws-sns:test-output"},
          cluster="",
          created="",
          log_source="",
          log_type="",
          outputs_sent=set(),
          rule_description="",
          source_entity="",
          source_service="",
      )
      record = alert.dynamo_record()
      assert_not_in("", list(record.values()))
      assert_not_in(set(), list(record.values()))
  
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 11 for calling the TestAlert obj's underlying member method code with example usage: obj.test_dynamo_record() without return types