code: def test_session(self):
      studies = "tests/data/dataset/local/spleen"
      files = [
          (
              "files",
              (
                  "spleen_3.nii.gz",
                  open(os.path.join(studies, "spleen_3.nii.gz"), "rb"),
              ),
          )
      ]
  
      response = requests.put(
          f"{SERVER_URI}/session/?expiry=600", files=files
      )
      assert response.status_code == 200
  
      r = response.json()
      session_id = r["session_id"]
      session_info = r["session_info"]
  
      assert session_id
      assert session_info
  
      response = requests.get(f"{SERVER_URI}/session/{session_id}")
      assert response.status_code == 200
  
imports: import os
  import unittest
  import requests
  from tests.integration import SERVER_URI
label_desc: Use image node_id 1 for calling the EndPointSession obj's underlying member method code with example usage: obj.test_session() without return types