class_docstr: Tests for shared/rule_table.py
docstr: Rule Table - DynamoDB Record, New Database
docstr_tok: ["Rule","Table","-","DynamoDB","Record",",","New","Database"]
code: def test_dynamo_record_init(self):
      """Rule Table - DynamoDB Record, New Database"""
      expected_record = {"RuleName": "foo_rule", "Staged": False}
  
      record = self.rule_table._dynamo_record("foo_rule", True)
      assert_equal(record, expected_record)
  
imports: from datetime import datetime
  import os
  from io import StringIO
  from botocore.exceptions import ClientError
  from mock import Mock, patch
  from moto import mock_dynamodb2
  from nose.tools import assert_equal, assert_not_equal, assert_raises
  from streamalert.shared import rule, rule_table
  from tests.unit.helpers.aws_mocks import setup_mock_rules_table
label_desc: Use image node_id 16 for calling the TestRuleTable obj's underlying member method code with example usage: obj.test_dynamo_record_init() without return types