code: def test_file_path():
      response = client.get("/files/home/johndoe/myfile.txt")
      print(response.content)
      assert response.status_code == 200, response.text
      assert response.json() == {"file_path": "home/johndoe/myfile.txt"}
  
imports: from fastapi.testclient import TestClient
  from docs_src.path_params.tutorial004 import app
label_desc: Use image node_id 1 for calling a global function with example usage: test_file_path() without return types