mirror of https://github.com/apache/superset.git
fixed api test
This commit is contained in:
parent
710608d9f3
commit
aec0aabf1d
|
@ -144,5 +144,4 @@ class ImportModelsCommand(BaseCommand):
|
|||
if exceptions:
|
||||
exception = CommandInvalidError(f"Error importing {self.model_name}")
|
||||
exception.add_list(exceptions)
|
||||
print(exceptions)
|
||||
raise exception
|
||||
|
|
|
@ -796,3 +796,7 @@ class TestSavedQueryApi(SupersetTestCase):
|
|||
.one()
|
||||
)
|
||||
assert saved_query.database == database
|
||||
|
||||
db.session.delete(saved_query)
|
||||
db.session.delete(database)
|
||||
db.session.commit()
|
||||
|
|
Loading…
Reference in New Issue