code: def test_scihub_unresponsive(small_query):
      timeout_connect = 6
      timeout_read = 6.6
      timeout = (timeout_connect, timeout_read)
  
      api = SentinelAPI("mock_user", "mock_password", timeout=timeout)
  
      with requests_mock.mock() as rqst:
          rqst.request(
              requests_mock.ANY,
              requests_mock.ANY,
              exc=requests.exceptions.ConnectTimeout,
          )
          with pytest.raises(requests.exceptions.ConnectTimeout):
              api.query(**small_query)
  
          with pytest.raises(requests.exceptions.ConnectTimeout):
              api.get_product_odata(
                  "8df46c9e-a20c-43db-a19a-4240c2ed3b8b"
              )
  
          with pytest.raises(requests.exceptions.ConnectTimeout):
              api.download("8df46c9e-a20c-43db-a19a-4240c2ed3b8b")
  
          with pytest.raises(requests.exceptions.ConnectTimeout):
              api.download_all(["8df46c9e-a20c-43db-a19a-4240c2ed3b8b"])
  
      with requests_mock.mock() as rqst:
          rqst.request(
              requests_mock.ANY,
              requests_mock.ANY,
              exc=requests.exceptions.ReadTimeout,
          )
          with pytest.raises(requests.exceptions.ReadTimeout):
              api.query(**small_query)
  
          with pytest.raises(requests.exceptions.ReadTimeout):
              api.get_product_odata(
                  "8df46c9e-a20c-43db-a19a-4240c2ed3b8b"
              )
  
          with pytest.raises(requests.exceptions.ReadTimeout):
              api.download("8df46c9e-a20c-43db-a19a-4240c2ed3b8b")
  
          with pytest.raises(requests.exceptions.ReadTimeout):
              api.download_all(["8df46c9e-a20c-43db-a19a-4240c2ed3b8b"])
  
file_path: sentinelsat/tests/test_misc.py
imports: import hashlib
  import pytest
  import requests
  import requests_mock
  from sentinelsat import SentinelAPI
  from sentinelsat.exceptions import SentinelAPIError, QuerySyntaxError, InvalidKeyError
  from sentinelsat.sentinel import _parse_opensearch_response
label_desc: Use image node_id 3 for calling a global function with example usage: test_scihub_unresponsive(small_query) without return types