Files
superset2/tests
Amin Ghadersohi 842df5ee77 fix(mcp): fix 4 failing unit tests and ruff import error in RBAC tool visibility
- Fix ruff error: consolidate contextlib imports into single from-import
- Fix test patch targets: middleware tests must patch middleware module
  after imports were promoted to module level (not auth module)
- Fix _tool_allowed_for_current_user: pass public tools through when
  user resolution fails (only hide tools with _class_permission_name)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 21:19:19 +00:00
..