class_docstr: Test class for the OneLoginApp
class_docstr_tok: ["Test","class","for","the","OneLoginApp"]
docstr: OneLoginApp - Set OneLogin Rate Limit Sleep, Empty Response
docstr_tok: ["OneLoginApp","-","Set","OneLogin","Rate","Limit","Sleep",",","Empty","Response"]
code: def test_set_onelogin_rate_limit_sleep_empty_response(
      self, requests_mock
  ):
      """OneLoginApp - Set OneLogin Rate Limit Sleep, Empty Response"""
      self._app._auth_headers = True
      self._app._rate_limit_sleep = 1
      requests_mock.return_value = Mock(
          status_code=200, json=Mock(return_value=None)
      )
      self._app._set_rate_limit_sleep()
      assert_equal(self._app._rate_limit_sleep, 0)
  
imports: import os
  from mock import Mock, patch
  from moto import mock_ssm
  from nose.tools import assert_equal, assert_false, assert_count_equal
  from streamalert.apps._apps.onelogin import OneLoginApp
  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 21 for calling the TestOneLoginApp obj's underlying member method code with example usage: obj.test_set_onelogin_rate_limit_sleep_empty_response(requests_mock) without return types