code: def test_upload_file_with_signed_url_raise_status(self):
      def raise_connection_error(*args, **kwargs):
          raise requests.exceptions.ConnectionError()
  
      with mock.patch(
          "lightly.api.api_workflow_client.requests.put",
          raise_connection_error,
      ):
          client = ApiWorkflowClient(token="")
          with self.assertRaises(requests.exceptions.ConnectionError):
              client.upload_file_with_signed_url(
                  file=mock.Mock(),
                  signed_write_url="",
              )
  
file_path: lightly/tests/api_workflow/test_api_workflow_client.py
imports: import os
  import platform
  import unittest
  from unittest import mock
  import requests
  from pytest_mock import MockerFixture
  import lightly
  from lightly.api.api_workflow_client import LIGHTLY_S3_SSE_KMS_KEY, ApiWorkflowClient
label_desc: Use image node_id 5 for calling the TestApiWorkflowClient obj's underlying member method code with example usage: obj.test_upload_file_with_signed_url_raise_status() without return types