19 lines
670 B
Python
19 lines
670 B
Python
|
|
# ================================================================
|
||
|
|
# services/data/tests/conftest.py
|
||
|
|
# ================================================================
|
||
|
|
"""Test configuration for data service"""
|
||
|
|
|
||
|
|
import pytest
|
||
|
|
import pytest_asyncio
|
||
|
|
from sqlalchemy.ext.asyncio import create_async_engine, AsyncSession, async_sessionmaker
|
||
|
|
from sqlalchemy.pool import StaticPool
|
||
|
|
from fastapi.testclient import TestClient
|
||
|
|
import uuid
|
||
|
|
from datetime import datetime
|
||
|
|
|
||
|
|
from app.main import app
|
||
|
|
from app.core.database import Base, get_db
|
||
|
|
from app.models.sales import SalesData
|
||
|
|
from app.models.weather import WeatherData, WeatherForecast
|
||
|
|
from app.models.traffic import TrafficData
|