test(server): add pytest scaffold with SQLite + mocked memory backend
Lays the groundwork for Tasks 2-10 of the REST API authorization fix plan. Adds an in-memory SQLite test engine, a TestClient fixture that short-circuits Memory.from_config() (pgvector is unavailable in tests), and reusable fixtures for admin/member users, JWTs, the legacy ADMIN_API_KEY env, and AUTH_DISABLED mode.
This commit is contained in:
Reference in New Issue
Block a user