"""Unit test conftest — overrides session DB fixtures with no-ops. Unit tests in this directory are pure-logic tests that do not touch the database. The session-scoped _db_schema fixture in the parent conftest.py tries to connect to the test Postgres instance; override it here so unit tests can run without a live DB. """ from __future__ import annotations from collections.abc import Generator import pytest @pytest.fixture(scope="session", autouse=True) def _db_schema() -> Generator[None, None, None]: """No-op override — unit tests do not need a database schema.""" yield