class_docstr: Test class for SlackOutput
class_docstr_tok: ["Test","class","for","SlackOutput"]
docstr: SlackOutput - JSON to Slack mrkdwn, Nested Dict
docstr_tok: ["SlackOutput","-","JSON","to","Slack","mrkdwn",",","Nested","Dict"]
code: def test_json_to_slack_mrkdwn_nested_dict(self):
      """SlackOutput - JSON to Slack mrkdwn, Nested Dict"""
      nested_dict = OrderedDict(
          [
              ("root_key_01", "root_value_01"),
              ("root_02", "root_value_02"),
              (
                  "root_nested_01",
                  OrderedDict(
                      [
                          ("nested_key_01", 100),
                          ("nested_key_02", 200),
                          (
                              "nested_nested_01",
                              OrderedDict(
                                  [("nested_nested_key_01", 300)]
                              ),
                          ),
                      ]
                  ),
              ),
          ]
      )
      result = SlackOutput._json_to_slack_mrkdwn(nested_dict, 0)
      assert_equal(len(result), 7)
      assert_equal(result[2], "*root_nested_01:*")
      assert_equal(Counter(result[4])["\t"], 1)
      assert_equal(Counter(result[6])["\t"], 2)
  
imports: from collections import Counter, OrderedDict
  from mock import patch, Mock, MagicMock
  from nose.tools import assert_equal, assert_false, assert_true, assert_set_equal
  from streamalert.alert_processor.helpers import compose_alert
  from streamalert.alert_processor.outputs.slack import SlackOutput
  from tests.unit.streamalert.alert_processor.helpers import get_random_alert, get_alert
label_desc: Use image node_id 12 for calling the TestSlackOutput obj's underlying member method code with example usage: obj.test_json_to_slack_mrkdwn_nested_dict() without return types