♻️ Refactor code structure for tests (#674)

This commit is contained in:
Sebastián Ramírez
2024-03-11 17:49:35 +01:00
committed by GitHub
parent 20f6020c7c
commit ed9958bc1e
9 changed files with 5 additions and 2 deletions

View File

@@ -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,

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -e
set -x
mypy app

View File

@@ -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 "$@"