mirror of
https://github.com/apache/superset.git
synced 2026-04-10 03:45:22 +00:00
chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
@@ -884,9 +884,9 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
"superset.views.core.app.config",
|
||||
{**app.config, "PREVENT_UNSAFE_DB_CONNECTIONS": True},
|
||||
)
|
||||
def test_create_database_fail_sqllite(self):
|
||||
def test_create_database_fail_sqlite(self):
|
||||
"""
|
||||
Database API: Test create fail with sqllite
|
||||
Database API: Test create fail with sqlite
|
||||
"""
|
||||
database_data = {
|
||||
"database_name": "test-create-sqlite-database",
|
||||
@@ -1378,7 +1378,7 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
"""
|
||||
self.login(username="admin")
|
||||
example_db = get_example_database()
|
||||
# sqllite will not raise a NoSuchTableError
|
||||
# sqlite will not raise a NoSuchTableError
|
||||
if example_db.backend == "sqlite":
|
||||
return
|
||||
uri = f"api/v1/database/{example_db.id}/select_star/table_does_not_exist/"
|
||||
|
||||
Reference in New Issue
Block a user