Skip to content

Commit 599787e

Browse files
committed
minor test fix
1 parent 902611f commit 599787e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_users.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from collections.abc import AsyncGenerator
2+
from typing import Any
23

34
import aioboto3
45
import pytest
@@ -51,7 +52,7 @@ async def dynamodb_user_db() -> AsyncGenerator[DynamoDBUserDatabase, None]:
5152

5253
db = DynamoDBUserDatabase(
5354
session,
54-
DynamoDBBaseUserTableUUID,
55+
User,
5556
table_name,
5657
DATABASE_USERTABLE_PRIMARY_KEY,
5758
dynamodb_resource_region=DATABASE_REGION,
@@ -172,8 +173,8 @@ async def test_queries_custom_fields(
172173
@pytest.mark.asyncio
173174
async def test_queries_oauth(
174175
dynamodb_user_db_oauth: DynamoDBUserDatabase[UserOAuth, UUID_ID],
175-
oauth_account1,
176-
oauth_account2,
176+
oauth_account1: dict[str, Any],
177+
oauth_account2: dict[str, Any],
177178
):
178179
# Test OAuth accounts
179180
user_create = {"email": "lancelot@camelot.bt", "hashed_password": "guinevere"}

0 commit comments

Comments
 (0)