feat: add pytest and pytest-asyncio dependencies for testing
This commit is contained in:
@@ -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))
|
||||
Reference in New Issue
Block a user