class_docstr: Tests for shared/alert_table.py
docstr: Alert Table - Get a Single Alert
docstr_tok: ["Alert","Table","-","Get","a","Single","Alert"]
code: def test_get_alert_record(self):
      """Alert Table - Get a Single Alert"""
      result = self.alert_table.get_alert_record(
          self.alerts[0].rule_name, self.alerts[0].alert_id
      )
      assert_equal(self.alerts[0].dynamo_record(), result)
  
imports: from datetime import datetime
  import os
  from botocore.exceptions import ClientError
  from mock import ANY, MagicMock, patch
  from moto import mock_dynamodb2
  from nose.tools import assert_equal, assert_raises
  from streamalert.shared import alert, alert_table
  from tests.unit.helpers.aws_mocks import setup_mock_alerts_table
label_desc: Use image node_id 7 for calling the TestAlertTable obj's underlying member method code with example usage: obj.test_get_alert_record() without return types