Files
superset2/tests/integration_tests
Evan 31ebae7c35 fix(tests): mock mutate_sql_based_on_config passthrough in sqllab_tests
test_execute_sql_statements and test_execute_sql_statements_ctas mocked
`query.database` as a bare MagicMock, so the new pre-split mutation call
in execute_sql_statements (which re-parses the mutator's return value as
SQL) got back an unconfigured MagicMock instead of a string, leaving zero
parsed statements and tripping the "mutator removed all executable
statements" guard. Configure mutate_sql_based_on_config to pass the SQL
through unchanged, matching the real Database method's default behavior
and the pattern already used in the new unit tests.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-17 17:42:18 -07:00
..