Files
xau-traderbot/tests/conftest.py
T

10 lines
251 B
Python
Raw Normal View History

"""Pytest configuration and database fixture."""
import pytest
from database.models import init_database
@pytest.fixture(scope="session", autouse=True)
def setup_test_database():
"""Ensure database tables exist for tests."""
init_database()