mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -112,7 +112,7 @@ def test_import_database_sqlite_invalid(
|
||||
_ = import_database(config)
|
||||
assert (
|
||||
str(excinfo.value)
|
||||
== "SQLiteDialect_pysqlite cannot be used as a data source for security reasons."
|
||||
== "SQLiteDialect_pysqlite cannot be used as a data source for security reasons." # noqa: E501
|
||||
)
|
||||
# restore app config
|
||||
app.config["PREVENT_UNSAFE_DB_CONNECTIONS"] = True
|
||||
|
||||
Reference in New Issue
Block a user