- Add pytest configuration and dependencies - Create test_models.py: 25 tests for Pydantic models - Create test_api.py: 23 tests for REST endpoints - Create test_websockets.py: 23 tests for WebSocket functionality - Add TEST_RESULTS.md with detailed analysis Tests validate: ✅ Message visibility system (private/public/mixed) ✅ Character isolation and privacy ✅ Session management ✅ API endpoints and error handling ✅ WebSocket connections Known issues: - 6 WebSocket async tests fail due to TestClient limitations - Production functionality manually verified - 10 Pydantic deprecation warnings to fix Coverage: 78% (219 statements, 48 missed) Ready for Phase 2 implementation
14 lines
218 B
Plaintext
14 lines
218 B
Plaintext
fastapi==0.104.1
|
|
uvicorn==0.24.0
|
|
python-dotenv==1.0.0
|
|
openai==1.3.0
|
|
python-multipart==0.0.6
|
|
pydantic==2.4.2
|
|
httpx==0.25.0
|
|
websockets==12.0
|
|
|
|
# Testing dependencies
|
|
pytest==7.4.3
|
|
pytest-asyncio==0.21.1
|
|
pytest-cov==4.1.0
|