mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
fix(dev/ci): pre-commit fixes galore (#32352)
This commit is contained in:
@@ -86,13 +86,10 @@ class TestQueryEstimationCommand(SupersetTestCase):
|
||||
assert (
|
||||
ex_info.value.error.error_type == SupersetErrorType.SQLLAB_TIMEOUT_ERROR
|
||||
)
|
||||
assert (
|
||||
ex_info.value.error.message
|
||||
== __(
|
||||
"The query estimation was killed after %(sqllab_timeout)s seconds. It might " # noqa: E501
|
||||
"be too complex, or the database might be under heavy load.",
|
||||
sqllab_timeout=app.config["SQLLAB_QUERY_COST_ESTIMATE_TIMEOUT"],
|
||||
)
|
||||
assert ex_info.value.error.message == __(
|
||||
"The query estimation was killed after %(sqllab_timeout)s seconds. It might " # noqa: E501
|
||||
"be too complex, or the database might be under heavy load.",
|
||||
sqllab_timeout=app.config["SQLLAB_QUERY_COST_ESTIMATE_TIMEOUT"],
|
||||
)
|
||||
|
||||
def test_run_success(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user