mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
chore(sqla): refactor query utils (#21811)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
This commit is contained in:
@@ -262,7 +262,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