mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
feat: TreeMap migration (#20346)
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
# pylint: disable=redefined-outer-name, import-outside-toplevel
|
||||
|
||||
import importlib
|
||||
import os
|
||||
from typing import Any, Callable, Iterator
|
||||
|
||||
import pytest
|
||||
@@ -69,7 +70,9 @@ def app() -> Iterator[SupersetApp]:
|
||||
app = SupersetApp(__name__)
|
||||
|
||||
app.config.from_object("superset.config")
|
||||
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite://"
|
||||
app.config["SQLALCHEMY_DATABASE_URI"] = (
|
||||
os.environ.get("SUPERSET__SQLALCHEMY_DATABASE_URI") or "sqlite://"
|
||||
)
|
||||
app.config["WTF_CSRF_ENABLED"] = False
|
||||
app.config["PREVENT_UNSAFE_DB_CONNECTIONS"] = False
|
||||
app.config["TESTING"] = True
|
||||
|
||||
Reference in New Issue
Block a user