auth unit tests & ruff visual fix

This commit is contained in:
2026-07-28 01:42:29 +03:00
parent 1d25b0edc3
commit 5522447b07
22 changed files with 411 additions and 54 deletions

View File

@@ -1,7 +1,9 @@
VENV=source .venv/bin/activate;
ALLURE=.venv/allure-2.44.0/bin/allure #linux&macos
#ALLURE=.venv\allure-2.44.0\bin\allure #Windows
.PHONY:
run, m_gen, m_up
run, m_gen, m_up, allure, coverage
run:
${VENV} python3 main.py
@@ -9,3 +11,7 @@ m_gen:
${VENV} alembic revision --autogenerate
m_up:
${VENV} alembic upgrade head
allure:
${VENV} ${ALLURE} generate tests/allure-results/reports --single-file -o tests/allure-results/html --clean
coverage:
${VENV} pytest --cov=src tests/