[fix] make datasource names non-nullable (#8332)

This commit is contained in:
serenajiang
2019-10-04 09:13:26 -07:00
committed by Erik Ritter
parent b6b6a753e2
commit 65a05ca47e
9 changed files with 77 additions and 14 deletions

View File

@@ -158,7 +158,7 @@ class DbEngineSpecsTestCase(SupersetTestCase):
)
def get_generic_database(self):
return Database(sqlalchemy_uri="sqlite://")
return Database(database_name="test_database", sqlalchemy_uri="sqlite://")
def sql_limit_regex(
self, sql, expected_sql, engine_spec_class=MySQLEngineSpec, limit=1000