class_docstr: Tests for rule_promotion/statistic.py:StagingStatistic
docstr: StagingStatistic - SQL Count Where Fragment
docstr_tok: ["StagingStatistic","-","SQL","Count","Where","Fragment"]
code: def test_sql_where_fragment(self):
      """StagingStatistic - SQL Count Where Fragment"""
      expected_sql = (
          "(dt >= '2000-01-01-01' AND rule_name = 'test_rule')"
      )
      assert_equal(self.statistic.sql_where_fragment, 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 3 for calling the TestStagingStatistic obj's underlying member method code with example usage: obj.test_sql_where_fragment() without return types