Files
superset2/tests/integration_tests/sql_lab
rusackasandClaude Opus 4.8 24c282b036 fix: update integration-test mocks for session.get() migration
session.query(Model).get(id) at superset/commands/sql_lab/estimate.py
was migrated to db.session.get(Database, id) in bc56ecbf15, but the
integration-test mocks in tests/integration_tests/sql_lab/ still
patched the old session.query().get() chain shape, so
QueryEstimationCommand picked up an auto-generated MagicMock instead
of the fixture and failed test-mysql/postgres/sqlite. Same mock-shape
fix already applied to the unit-test sibling in the same commit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-10 04:40:01 -07:00
..