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:
@@ -0,0 +1,5 @@
|
||||
-r requirements.txt
|
||||
|
||||
pytest>=8.0,<9.0
|
||||
pytest-asyncio>=0.23,<1.0
|
||||
httpx>=0.27,<1.0
|
||||
Reference in New Issue
Block a user