code: def test_get_user(client):
      response = client.get("/users/1")
      assert response.status_code == 200, response.text
      data = response.json()
      assert "email" in data
      assert "id" in data
  
file_path: fastapi/tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py
imports: import importlib
  from pathlib import Path
  import pytest
  from dirty_equals import IsDict
  from fastapi.testclient import TestClient
  from ...utils import needs_pydanticv1
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_user(client) without return types