code: def run(self, file_server_url: str, first=True):
      if first:
          with open("test.txt", "w") as f:
              f.write("Some text.")
  
          response = requests.post(
              file_server_url + "/upload_file/",
              files={"file": open("test.txt", "rb")},
          )
          assert response.status_code == 200
      else:
          response = requests.get(file_server_url)
          assert response.status_code == 200
          assert response.json() == {"asset_names": ["test.txt"]}
  
imports: import json
  import os
  import tarfile
  import uuid
  import zipfile
  from pathlib import Path
  from lightning.app import LightningWork, LightningApp
  from lightning.app.storage import Drive
  import requests
  from lightning import LightningWork
  from lightning import LightningApp, LightningFlow
  from lightning.app.runners import MultiProcessRuntime
  from lightning.app.testing import run_app_in_cloud
label_desc: Use image node_id 2 for calling the TestFileServer obj's underlying member method code with example usage: obj.run(file_server_url, first) without return types