code: def test_get_redirect():
      response = client.get(
          "/portal", params={"teleport": True}, follow_redirects=False
      )
      assert response.status_code == 307, response.text
      assert (
          response.headers["location"]
          == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
      )
  
imports: from fastapi.testclient import TestClient
  from docs_src.response_model.tutorial003_05 import app
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_redirect() without return types