Sebastián Ramírez
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with
5 additions and
2 deletions
-
backend/app/api/routes/login.py
-
backend/app/tests/api/routes/__init__.py
-
backend/app/tests/api/routes/test_celery.py
-
backend/app/tests/api/routes/test_items.py
-
backend/app/tests/api/routes/test_login.py
-
backend/app/tests/api/routes/test_users.py
-
backend/scripts/lint.sh
-
backend/tests-start.sh
-
scripts/test.sh
|
|
@ -10,7 +10,7 @@ from app.api.deps import CurrentUser, SessionDep, get_current_active_superuser |
|
|
|
from app.core import security |
|
|
|
from app.core.config import settings |
|
|
|
from app.core.security import get_password_hash |
|
|
|
from app.models import Message, NewPassword, Token, User, UserOut |
|
|
|
from app.models import Message, NewPassword, Token, UserOut |
|
|
|
from app.utils import ( |
|
|
|
generate_password_reset_token, |
|
|
|
generate_reset_password_email, |
|
|
|
|
|
@ -1,5 +1,6 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
set -e |
|
|
|
set -x |
|
|
|
|
|
|
|
mypy app |
|
|
|
|
|
@ -1,7 +1,8 @@ |
|
|
|
#! /usr/bin/env bash |
|
|
|
set -e |
|
|
|
set -x |
|
|
|
|
|
|
|
python /app/app/tests_pre_start.py |
|
|
|
|
|
|
|
bash ./scripts/lint.sh |
|
|
|
bash ./scripts/lint.sh |
|
|
|
bash ./scripts/test.sh "$@" |
|
|
|
|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
# Exit in case of error |
|
|
|
set -e |
|
|
|
set -x |
|
|
|
|
|
|
|
docker compose build |
|
|
|
docker compose down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error |
|
|
|