code: def test_request__connection_read_timeout(
      self, mocker: MockerFixture
  ) -> None:
      client = LightlySwaggerRESTClientObject(
          configuration=Configuration(), timeout=(1, 2)
      )
      response = mocker.MagicMock()
      response.status = 200
      client.pool_manager.request = mocker.MagicMock(
          return_value=response
      )
  
      client.request(method="GET", url="some-url")
      calls = client.pool_manager.request.mock_calls
      _, _, kwargs = calls[0]
      assert isinstance(kwargs["timeout"], Timeout)
      assert kwargs["timeout"].connect_timeout == 1
      assert kwargs["timeout"].read_timeout == 2
  
file_path: lightly/tests/api/test_swagger_rest_client.py
imports: import pickle
  from pytest_mock import MockerFixture
  from urllib3 import PoolManager, Timeout
  from lightly.api.swagger_rest_client import LightlySwaggerRESTClientObject
  from lightly.openapi_generated.swagger_client.configuration import Configuration
label_desc: Use image node_id 3 for calling the TestLightlySwaggerRESTClientObject obj's underlying member method code with example usage: obj.test_request__connection_read_timeout(mocker) without return types