code: def test_get_valid_headers_users():
      response = client.get(
          "/users/",
          headers={
              "X-Token": "fake-super-secret-token",
              "X-Key": "fake-super-secret-key",
          },
      )
      assert response.status_code == 200, response.text
      assert response.json() == [
          {"username": "Rick"},
          {"username": "Morty"},
      ]
  
file_path: fastapi/tests/test_tutorial/test_dependencies/test_tutorial012_an.py
imports: from dirty_equals import IsDict
  from fastapi.testclient import TestClient
  from fastapi.utils import match_pydantic_error_url
  from docs_src.dependencies.tutorial012_an import app
label_desc: Use image node_id 8 for calling a global function with example usage: test_get_valid_headers_users() without return types