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/",