class_docstr: Tests the S3Driver
  
  This was largely ported over from test_lookup_tables.py from the old implementation.
class_docstr_tok: ["Tests","the","S3Driver","This","was","largely","ported","over","from","test_lookup_tables.py","from","the","old","implementation","."]
docstr: LookupTables - Setup S3 bucket mocking
docstr_tok: ["LookupTables","-","Setup","S3","bucket","mocking"]
code: def setup(self):
      """LookupTables - Setup S3 bucket mocking"""
      self.config = load_config("tests/unit/conf")
      self._dynamodb_mock = mock_dynamodb2()
      self._dynamodb_mock.start()
  
      self._driver = construct_persistence_driver(
          self.config["lookup_tables"]["tables"]["dinosaur"]
      )
      self._bad_driver = construct_persistence_driver(
          {
              "driver": "dynamodb",
              "table": "table???",
              "partition_key": "??",
              "value_key": "?zlaerf",
          }
      )
  
      self._put_mock_tables()
  
imports: from datetime import datetime
  from mock import patch
  from botocore.exceptions import ReadTimeoutError
  from moto import mock_dynamodb2
  from nose.tools import assert_equal, assert_false, assert_raises, assert_true
  from streamalert.shared.config import load_config
  from streamalert.shared.lookup_tables.drivers_factory import construct_persistence_driver
  from streamalert.shared.lookup_tables.errors import LookupTablesInitializationError
  from tests.unit.helpers.aws_mocks import put_mock_dynamod_data
label_desc: Use image node_id 1 for calling the TestDynamoDBDriver obj's underlying member method code with example usage: obj.setup() without return types