opencompletion.com/tests/integration
Russell Ballestrini 21acc90f2d Fix socketio mocking and add MODEL_ENDPOINT env vars for tests
Fixed remaining 2 integration test failures:

1. Socketio mocking issue:
   - Tests were setting app.socketio but activity module has its own reference
   - Fixed by mocking activity.socketio directly instead of app.socketio
   - Updated test_cancel_activity_integration to check both chat_message and activity_status events
   - Updated test_display_activity_metadata_integration to use activity.socketio

2. GitHub Actions environment variables:
   - Added MODEL_ENDPOINT_0 and MODEL_API_KEY_0 to all test steps
   - These are required for app.py initialization
   - Set to dummy values (https://test.api) for testing

Test Results:
- Before: 2 failed, 39 passed
- After: 41 passed 

All integration tests now pass locally and should pass on GitHub Actions.
2025-11-10 17:04:41 -05:00
..
test_activity_integration.py Fix remaining integration test failures 2025-11-10 16:30:06 -05:00
test_activity_processing.py Fix integration test failures 2025-11-10 16:06:59 -05:00
test_app_activity_functions.py Fix socketio mocking and add MODEL_ENDPOINT env vars for tests 2025-11-10 17:04:41 -05:00
test_app_integration.py Run black formatter on all Python files 2025-11-10 19:37:05 +00:00
test_multiple_activities.py Integrate comprehensive testing framework with Makefile 2025-08-10 19:38:50 -04:00