class_docstr: Tests for rule_promotion/statistic.py:StagingStatistic
docstr: StagingStatistic - SQL Info Statement
docstr_tok: ["StagingStatistic","-","SQL","Info","Statement"]
code: def test_sql_info_statement(self):
      """StagingStatistic - SQL Info Statement"""
      expected_sql = (
          "SELECT id, rule_name, created, cluster, log_source, source_entity, "
          "record FROM alerts WHERE dt >= '2000-01-01-01' AND "
          "rule_name = 'test_rule' ORDER BY created DESC"
      )
      assert_equal(self.statistic.sql_info_statement, expected_sql)
  
file_path: streamalert/tests/unit/streamalert/rule_promotion/test_statistic.py
imports: from datetime import datetime, timedelta
  import os
  from mock import patch
  from nose.tools import assert_equal
  from streamalert.rule_promotion.statistic import StagingStatistic
label_desc: Use image node_id 4 for calling the TestStagingStatistic obj's underlying member method code with example usage: obj.test_sql_info_statement() without return types