test: bootstrap pytest environment for backend

This commit is contained in:
CREDO23 2026-02-24 18:19:56 +02:00
parent 47e6a7f29e
commit 10a6ba6924
10 changed files with 126 additions and 0 deletions

View file

@ -70,6 +70,21 @@ dependencies = [
[dependency-groups]
dev = [
"ruff>=0.12.5",
"pytest>=8.0",
"pytest-asyncio>=0.25",
"pytest-mock>=3.14",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
testpaths = ["tests"]
markers = [
"unit: pure logic tests, no DB or external services",
"integration: tests that require a real PostgreSQL database",
]
filterwarnings = [
"ignore::UserWarning:chonkie",
]
[tool.ruff]