class_docstr: Test class for the AppIntegration
class_docstr_tok: ["Test","class","for","the","AppIntegration"]
docstr: App Integration - Make Get Request, Bad Response
code: def test_make_get_request_bad_response(self, requests_mock):
      """App Integration - Make Get Request, Bad Response"""
      failed_message = "something went wrong"
      requests_mock.return_value = Mock(
          status_code=404,
          content=failed_message,
          json=Mock(return_value={"message": failed_message}),
      )
  
      result, response = self._app._make_get_request(
          "hostname", None, None
      )
      assert_false(result)
      assert_equal(response["message"], failed_message)
  
      # The .json should be called on the response once, to return the response.
      assert_equal(requests_mock.return_value.json.call_count, 1)
  
imports: import os
  from botocore.exceptions import ClientError
  from mock import call, Mock, patch
  from moto import mock_ssm
  from nose.tools import assert_equal, assert_false, assert_is_instance, assert_is_none, assert_true, raises
  import requests
  from requests.exceptions import ConnectTimeout
  from streamalert.apps import StreamAlertApp
  from streamalert.apps.app_base import AppIntegration, safe_timeout, _report_time
  from streamalert.apps._apps.duo import DuoAuthApp
  from streamalert.apps.exceptions import AppException
  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 18 for calling the TestAppIntegration obj's underlying member method code with example usage: obj.test_make_get_request_bad_response(requests_mock) without return types