You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Repair e2e tests broken by multi-tenancy and add pytest-timeout
Fixed issues in e2e tests caused by multi-tenancy (team) implementation:
- Added "teams": [] to JWT token payloads in test_admin_apis.py and test_main_apis.py to allow access to public resources and own private resources
- Set "visibility": "public" for test servers, prompts, and resources to ensure proper access with public-only tokens
- Simplified settings mock in test_admin_apis.py (replaced patch with MagicMock)
- Fixed string escaping in resource data test (test_main_apis.py:979)
- Cleaned up logging setup in test_admin_apis.py
Added missing pytest-timeout>=2.4.0 package to dev dependencies to ensure timeout decorations are properly honored during test execution.
Signed-off-by: Jonathan Springer <[email protected]>
0 commit comments