class_docstr: Tests for merger/main.py:AlertMerger class
class_docstr_tok: ["Tests","for","merger\/main.py",":","AlertMerger","class"]
docstr: Alert Merger - Teardown (Stop Mocks)
docstr_tok: ["Alert","Merger","-","Teardown","(","Stop","Mocks",")"]
code: def teardown(self):
      """Alert Merger - Teardown (Stop Mocks)"""
      self.dynamo_mock.stop()
      self.lambda_mock.stop()
  
imports: from datetime import datetime, timedelta
  import os
  from mock import ANY, call, patch, MagicMock
  from moto import mock_dynamodb2, mock_lambda
  from nose.tools import assert_equal, assert_false, assert_true
  from streamalert.alert_merger import main
  from streamalert.shared.alert import Alert
  from tests.unit.helpers.aws_mocks import create_lambda_function, setup_mock_alerts_table
label_desc: Use image node_id 2 for calling the TestAlertMerger obj's underlying member method code with example usage: obj.teardown() without return types