class_docstr: Test class for the GSuiteReportsApp
docstr: GSuiteReportsApp - Gather Logs, Google API Token Error
code: def test_gather_logs_token_error(self, log_mock):
      """GSuiteReportsApp - Gather Logs, Google API Token Error"""
      with patch.object(
          self._app, "_activities_service"
      ) as service_mock:
          error = exceptions.RefreshError("bad")
          service_mock.list.return_value.execute.side_effect = error
          assert_false(self._app._gather_logs())
          log_mock.assert_called_with(
              "[%s] Failed to execute activities listing", self._app
          )
  
imports: import json
  import os
  import socket
  import ssl
  from datetime import datetime, timedelta
  import googleapiclient
  from google.auth import exceptions
  from mock import Mock, mock_open, patch
  from moto import mock_ssm
  from nose.tools import assert_equal, assert_false, assert_count_equal, assert_true, raises
  from streamalert.apps._apps.gsuite import GSuiteReportsApp
  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 17 for calling the TestGSuiteReportsApp obj's underlying member method code with example usage: obj.test_gather_logs_token_error(log_mock) without return types