Close #3: forgot/reset password routes

This commit is contained in:
François Voron
2019-10-13 12:05:10 +02:00
parent ef1f60d7e5
commit 49daeff869
9 changed files with 305 additions and 37 deletions

View File

@@ -73,10 +73,7 @@ async def test_queries(sqlalchemy_user_db):
# Exception when inserting non-nullable fields
with pytest.raises(sqlite3.IntegrityError):
wrong_user = BaseUserDB(
id="222",
hashed_password="aaa"
)
wrong_user = BaseUserDB(id="222", hashed_password="aaa")
await sqlalchemy_user_db.create(wrong_user)
# Unknown user