code: def test_upload_file_with_signed_url_session(self):
      session = mock.Mock()
      file = mock.Mock()
      signed_write_url = ""
      client = ApiWorkflowClient(token="")
      client.upload_file_with_signed_url(
          file=file, signed_write_url=signed_write_url, session=session
      )
      session.put.assert_called_with(signed_write_url, data=file)
  
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 2 for calling the TestApiWorkflowClient obj's underlying member method code with example usage: obj.test_upload_file_with_signed_url_session() without return types