class_docstr: Test class for the SlackAccessApp
class_docstr_tok: ["Test","class","for","the","SlackAccessApp"]
docstr: Sample logs collected from the slack api documentation
docstr_tok: ["Sample","logs","collected","from","the","slack","api","documentation"]
code: def _get_sample_access_logs():
      """Sample logs collected from the slack api documentation"""
      return {
          "ok": True,
          "logins": [
              {
                  "user_id": "U12345",
                  "username": "bob",
                  "date_first": 1422922864,
                  "date_last": 1422922864,
                  "count": 1,
                  "ip": "127.0.0.",
                  "user_agent": "SlackWeb Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) "
                  "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.35 "
                  "Safari/537.36",
                  "isp": "BigCo ISP",
                  "country": "US",
                  "region": "CA",
              },
              {
                  "user_id": "U45678",
                  "username": "alice",
                  "date_first": 1422922493,
                  "date_last": 1422922493,
                  "count": 1,
                  "ip": "127.0.0.1",
                  "user_agent": "SlackWeb Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac "
                  "OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 "
                  "Mobile/12B466 Safari/600.1.4",
                  "isp": "BigCo ISP",
                  "country": "US",
                  "region": "CA",
              },
          ],
          "paging": {"count": 100, "total": 2, "page": 1, "pages": 1},
      }
  
imports: import os
  from mock import Mock, patch
  from moto import mock_ssm
  from nose.tools import assert_equal, assert_false, assert_count_equal, raises
  from streamalert.apps._apps.slack import SlackApp, SlackAccessApp, SlackIntegrationsApp
  from tests.unit.streamalert.apps.test_helpers import get_event, put_mock_params
  from tests.unit.streamalert.shared.test_config import get_mock_lambda_context
label_desc: Use image node_id 3 for calling the TestSlackAccessApp obj's underlying member method code with example usage: obj._get_sample_access_logs() and returns: dict