4 Commits

Author SHA1 Message Date
34053b3fc1 fix: use in-memory checkpointer for API tests to avoid database dependency
- Replace PostgreSQL AsyncPostgresSaver with MemorySaver in test fixtures
- Create test_app fixture with test_lifespan using in-memory dependencies
- Mock LLM model to avoid requiring API keys during tests
- Update test_api.py to use test_app fixture instead of production app
- Fix test_root endpoint URL to match root_path configuration
- All API tests now pass without requiring external services (0.06s vs 30s+ timeout)

This change allows tests to run in isolation without PostgreSQL or API keys,
making them faster and more reliable for CI/CD and local development.
2026-06-10 16:06:10 -05:00
ea3da00b95 fix: use TestClient as context manager to trigger lifespan 2026-03-18 15:05:01 -05:00
6fc6338413 fix: PEP8 Style 2026-03-04 16:20:56 -05:00
adda2a3e5e feat: Add NaliiaBot API 2026-02-09 15:59:54 -05:00