class_docstr: Tests for shared/rule_table.py
docstr: Rule Table - Print Table, Verbose
docstr_tok: ["Rule","Table","-","Print","Table",",","Verbose"]
code: def test_print_table_verbose(self):
      """Rule Table - Print Table, Verbose"""
      self._create_db_rule_with_name("test_01")
      self.rule_table._table.put_item(
          Item={
              "RuleName": "test_02",
              "Staged": True,
              "StagedAt": "2018-04-21T02:23:13.0Z",
              "StagedUntil": "2018-04-23T02:23:13.0Z",
          }
      )
      with patch("sys.stdout", new=StringIO()) as stdout:
          print(self.rule_table.__str__(True))
          expected_output = """
  Rule            Staged?
    1: test_01    False
    2: test_02    True
       - StagedAt:      2018-04-21 02:23:13
       - StagedUntil:   2018-04-23 02:23:13
  """
  
          output = stdout.getvalue().strip()
          assert_equal(output, expected_output.strip())
  
imports: from datetime import datetime
  import os
  from io import StringIO
  from botocore.exceptions import ClientError
  from mock import Mock, patch
  from moto import mock_dynamodb2
  from nose.tools import assert_equal, assert_not_equal, assert_raises
  from streamalert.shared import rule, rule_table
  from tests.unit.helpers.aws_mocks import setup_mock_rules_table
label_desc: Use image node_id 28 for calling the TestRuleTable obj's underlying member method code with example usage: obj.test_print_table_verbose() without return types