mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore(sqla): refactor query utils (#21811)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
This commit is contained in:
@@ -261,7 +261,7 @@ class TestDatabaseModel(SupersetTestCase):
|
||||
)
|
||||
db.session.commit()
|
||||
|
||||
with pytest.raises(SupersetSecurityException):
|
||||
with pytest.raises(QueryObjectValidationError):
|
||||
table.get_sqla_query(**base_query_obj)
|
||||
# Cleanup
|
||||
db.session.delete(table)
|
||||
|
||||
Reference in New Issue
Block a user