Browse Source

Fix test fixture

pull/14608/head
Sebastián Ramírez 7 months ago
parent
commit
77f41c6062
  1. 2
      tests/benchmarks/test_general_performance.py

2
tests/benchmarks/test_general_performance.py

@ -182,7 +182,7 @@ async def async_model_with_response_model(
@pytest.fixture(scope="module")
def client(app: FastAPI) -> Iterator[TestClient]:
def client() -> Iterator[TestClient]:
with TestClient(app) as client:
yield client

Loading…
Cancel
Save