class_docstr: Tests for rule_promotion/publisher.py:StatsPublisher
class_docstr_tok: ["Tests","for","rule_promotion\/publisher.py",":","StatsPublisher"]
docstr: StatsPublisher - Format Digest, No Stats
docstr_tok: ["StatsPublisher","-","Format","Digest",",","No","Stats"]
code: def test_format_digest_no_stats(self):
      """StatsPublisher - Format Digest, No Stats"""
      digest = self.publisher._format_digest([])
      assert_equal(digest, "No currently staged rules to report on")
  
file_path: streamalert/tests/unit/streamalert/rule_promotion/test_publisher.py
imports: from datetime import datetime, timedelta
  from mock import patch, PropertyMock
  from nose.tools import assert_equal, assert_raises
  from streamalert.rule_promotion.publisher import StatsPublisher
  from streamalert.rule_promotion.statistic import StagingStatistic
  from streamalert.shared import athena, config
label_desc: Use image node_id 5 for calling the TestStatsPublisher obj's underlying member method code with example usage: obj.test_format_digest_no_stats() without return types