Implement user-specific question numbering and update database schema. Added triggers for automatic question numbering and adjustments upon deletion. Enhanced CRUD operations to manage user_question_number effectively.

This commit is contained in:
2025-09-06 18:35:12 +03:00
parent 50be010026
commit 596a2fa813
111 changed files with 16847 additions and 65 deletions

29
pytest.ini Normal file
View File

@@ -0,0 +1,29 @@
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--cov=.
--cov-report=html
--cov-report=term-missing
--cov-fail-under=80
markers =
unit: Unit tests
integration: Integration tests
slow: Slow tests
database: Database tests
bot: Bot tests
auth: Authentication tests
validation: Validation tests
crud: CRUD tests
middleware: Middleware tests
services: Services tests
handlers: Handlers tests
models: Models tests
config: Configuration tests
asyncio_mode = auto