code: def test_post_files(tmp_path, app: FastAPI):
      path = tmp_path / "test.txt"
      path.write_bytes(b"<file content>")
      path2 = tmp_path / "test2.txt"
      path2.write_bytes(b"<file content2>")
  
      client = TestClient(app)
      with path.open("rb") as file, path2.open("rb") as file2:
          response = client.post(
              "/files/",
              files=(
                  ("files", ("test.txt", file)),
                  ("files", ("test2.txt", file2)),
              ),
          )
      assert response.status_code == 200, response.text
      assert response.json() == {"file_sizes": [14, 15]}
  
file_path: fastapi/tests/test_tutorial/test_request_files/test_tutorial002_py39.py
imports: import pytest
  from dirty_equals import IsDict
  from fastapi import FastAPI
  from fastapi.testclient import TestClient
  from fastapi.utils import match_pydantic_error_url
  from ...utils import needs_py39
label_desc: Use image node_id 5 for calling a global function with example usage: test_post_files(tmp_path, app) without return types