Skip to content

Use bcrypt directly and remove passlib #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix failing test
  • Loading branch information
leolas95 committed Jan 21, 2025

Verified

This commit was signed with the committer’s verified signature.
commit 5cb4ebdeaaad0fc41db07d2d899601027ca37584
6 changes: 2 additions & 4 deletions lambdas/tests/routes/users/test_users.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import json

from fastapi import status
from fastapi.testclient import TestClient
from sqlalchemy.orm import Session
@@ -17,9 +15,9 @@ def test_create_user(client: TestClient, session_fixture: Session):
"/users/auth/signup/",
json=body
)

assert response.status_code == status.HTTP_201_CREATED
assert response.content is not None
parsed_body = json.loads(response.content)
assert parsed_body['statusCode'] == status.HTTP_201_CREATED


def test_update_user(client: TestClient, session_fixture: Session):