code: def test_token(client: TestClient):
      response = client.get(
          "/items", headers={"Authorization": "Bearer testtoken"}
      )
      assert response.status_code == 200, response.text
      assert response.json() == {"token": "testtoken"}
  
file_path: fastapi/tests/test_tutorial/test_security/test_tutorial001_an_py39.py
imports: import pytest
  from fastapi.testclient import TestClient
  from ...utils import needs_py39
label_desc: Use image node_id 3 for calling a global function with example usage: test_token(client) without return types