""" Fixtures para los tests del shape rest-api/python. A diferencia de web-backend/python (que levanta MariaDB con testcontainers), este shape no tiene persistencia — los tests corren sin Docker. """ from collections.abc import Iterator import pytest from fastapi.testclient import TestClient @pytest.fixture def client() -> Iterator[TestClient]: """TestClient con la app cargada. Sin BD, sin contenedores externos.""" from app.main import create_app app = create_app() with TestClient(app) as c: yield c