From fb0135cf38cb65a4b5fbdd1a26444a42503f5497 Mon Sep 17 00:00:00 2001 From: Sebastiaan Date: Mon, 9 Jun 2025 15:50:59 +0200 Subject: [PATCH] Remove some unused vars --- backend/app/tests/api/routes/test_login.py | 1 - backend/app/tests/api/routes/test_teams.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/app/tests/api/routes/test_login.py b/backend/app/tests/api/routes/test_login.py index 68ed90e..2d7b42b 100644 --- a/backend/app/tests/api/routes/test_login.py +++ b/backend/app/tests/api/routes/test_login.py @@ -101,7 +101,6 @@ def test_use_api_key_user_inactive(client: TestClient, db: Session) -> None: api_key = ApiKey.create(session=db, create_obj=create_obj) r = client.get(f"{settings.API_V1_STR}/login/api-key/{api_key.api_key}") - tokens = r.json() assert r.status_code == 400 diff --git a/backend/app/tests/api/routes/test_teams.py b/backend/app/tests/api/routes/test_teams.py index 79dd803..097ccb4 100644 --- a/backend/app/tests/api/routes/test_teams.py +++ b/backend/app/tests/api/routes/test_teams.py @@ -127,7 +127,7 @@ def test_read_teams_with_normal_user(client: TestClient, normal_user_token_heade def test_read_teams_with_event_user(client: TestClient, event_user_token_headers: EventUserHeader, db: Session) -> None: - team = create_random_team(db, event=event_user_token_headers.event) + create_random_team(db, event=event_user_token_headers.event) response = client.get( f"{settings.API_V1_STR}/teams/",