mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
- Created new test file enterprise/tests/unit/storage/test_saas_sql_app_conversation_info_service.py - Added comprehensive test suite for SaasSQLAppConversationInfoService with 4 tests: * test_service_initialization: Verifies proper service initialization * test_user_context_isolation: Tests user context isolation between different service instances * test_secure_select_includes_user_filtering: Validates _secure_select method functionality * test_to_info_with_user_id_functionality: Tests user_id override from SAAS metadata - Moved test_user_isolation from TestSQLAppConversationInfoService to new SAAS test class - Fixed UUID string conversion issues in SaasSQLAppConversationInfoService - Updated all user_id handling to properly convert string to UUID for database operations - All tests pass: 4 new SAAS tests + 17 existing original tests Co-authored-by: openhands <openhands@all-hands.dev>