feat: add pytest and pytest-asyncio dependencies for testing

This commit is contained in:
Artem Kashaev
2025-11-27 14:24:57 +05:00
parent 41e344f06f
commit 926c125255
4 changed files with 158 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
"""Pytest configuration & shared fixtures."""
from __future__ import annotations
import sys
from pathlib import Path
# Ensure project root is on sys.path so that `app` package imports succeed during tests.
PROJECT_ROOT = Path(__file__).resolve().parents[1]
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))