mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat: export/import allow_dml flag (#22806)
This commit is contained in:
@@ -159,6 +159,7 @@ class TestExportDatabasesCommand(SupersetTestCase):
|
||||
"allow_csv_upload": True,
|
||||
"allow_ctas": True,
|
||||
"allow_cvas": True,
|
||||
"allow_dml": True,
|
||||
"allow_run_async": False,
|
||||
"cache_timeout": None,
|
||||
"database_name": "examples",
|
||||
@@ -362,6 +363,7 @@ class TestExportDatabasesCommand(SupersetTestCase):
|
||||
"allow_run_async",
|
||||
"allow_ctas",
|
||||
"allow_cvas",
|
||||
"allow_dml",
|
||||
"allow_csv_upload",
|
||||
"extra",
|
||||
"uuid",
|
||||
@@ -405,6 +407,7 @@ class TestImportDatabasesCommand(SupersetTestCase):
|
||||
assert database.allow_file_upload
|
||||
assert database.allow_ctas
|
||||
assert database.allow_cvas
|
||||
assert database.allow_dml
|
||||
assert not database.allow_run_async
|
||||
assert database.cache_timeout is None
|
||||
assert database.database_name == "imported_database"
|
||||
@@ -440,6 +443,7 @@ class TestImportDatabasesCommand(SupersetTestCase):
|
||||
assert database.allow_file_upload
|
||||
assert database.allow_ctas
|
||||
assert database.allow_cvas
|
||||
assert database.allow_dml
|
||||
assert not database.allow_run_async
|
||||
assert database.cache_timeout is None
|
||||
assert database.database_name == "imported_database"
|
||||
|
||||
Reference in New Issue
Block a user