code: def setUp(self) -> None:
      self._tmpdir = tempfile.TemporaryDirectory(dir=os.getcwd())
      self._tmpfile = tempfile.NamedTemporaryFile(
          dir=self._tmpdir.name, delete=False
      )
      self._tmp_js_file = tempfile.NamedTemporaryFile(
          dir=self._tmpdir.name, suffix="script.js", delete=False
      )
      self._tmp_png_image_file = tempfile.NamedTemporaryFile(
          dir=self._tmpdir.name, suffix="image.png", delete=False
      )
      self._tmp_webp_image_file = tempfile.NamedTemporaryFile(
          dir=self._tmpdir.name, suffix="image.webp", delete=False
      )
  
      self._symlink_outside_directory = "symlink_outside"
      self._symlink_inside_directory = "symlink_inside"
  
      os.symlink(
          "/",
          os.path.join(
              self._tmpdir.name, self._symlink_outside_directory
          ),
      )
      os.symlink(
          self._tmpfile.name,
          os.path.join(
              self._tmpdir.name, self._symlink_inside_directory
          ),
      )
  
      self._filename = os.path.basename(self._tmpfile.name)
      self._js_filename = os.path.basename(self._tmp_js_file.name)
      self._png_image_filename = os.path.basename(
          self._tmp_png_image_file.name
      )
      self._webp_image_filename = os.path.basename(
          self._tmp_webp_image_file.name
      )
  
      super().setUp()
  
file_path: streamlit/lib/tests/streamlit/web/server/app_static_file_handler_test.py
imports: import os
  import tempfile
  from unittest.mock import MagicMock, patch
  import tornado.httpserver
  import tornado.testing
  import tornado.web
  import tornado.websocket
  from streamlit.web.server.app_static_file_handler import MAX_APP_STATIC_FILE_SIZE, AppStaticFileHandler
label_desc: Use image node_id 1 for calling the AppStaticFileHandlerTest obj's underlying member method code with example usage: obj.setUp() without return types