docstr: Requests for invalid files fail with 404.
docstr_tok: ["Requests","for","invalid","files","fail","with","404","."]
code: def test_invalid_file(self) -> None:
      """Requests for invalid files fail with 404."""
      url = f"{MOCK_ENDPOINT}/invalid_media_file.mp4"
      rsp = self.fetch(url, method="GET")
      self.assertEqual(404, rsp.code)
  
file_path: streamlit/lib/tests/streamlit/web/server/media_file_handler_test.py
imports: from unittest import mock
  from unittest.mock import MagicMock
  import tornado.testing
  import tornado.web
  from parameterized import parameterized
  from typing_extensions import Final
  from streamlit.runtime.media_file_manager import MediaFileManager
  from streamlit.runtime.memory_media_file_storage import MemoryMediaFileStorage
  from streamlit.web.server.media_file_handler import MediaFileHandler
label_desc: Use image node_id 5 for calling the MediaFileHandlerTest obj's underlying member method code with example usage: obj.test_invalid_file() without return types