code: def put(self, url, data):
      assert url == "https://test-url"
      assert data == "test-data"
      return response["response"]
  
file_path: pytorch-lightning/tests/tests_app/source_code/test_uploader.py
imports: from unittest import mock
  from unittest.mock import ANY, MagicMock
  import pytest
  from lightning.app.source_code import uploader
label_desc: Use image node_id 1 for calling the MockedRequestSession obj's underlying member method code with example usage: obj.put(url, data) and returns: response