Skip to content

Commit d2bf874

Browse files
committed
fix test client name
1 parent 668e76a commit d2bf874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_litestar_bootstrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def test_litestar_bootstrap(service_config: ServiceConfig) -> None:
4242
logger.info("testing logging", key="value")
4343

4444
try:
45-
with TestClient(app=application) as async_client:
46-
response = async_client.get("/health/")
45+
with TestClient(app=application) as test_client:
46+
response = test_client.get("/health/")
4747
assert response.status_code == status_codes.HTTP_200_OK
4848
assert response.json() == {
4949
"health_status": True,

0 commit comments

Comments
 (0)