mirror of
https://github.com/apache/superset.git
synced 2026-05-08 09:25:56 +00:00
committed by
Michael S. Molina
parent
d8c72b86bc
commit
2ac03c3bcc
@@ -1616,3 +1616,10 @@ def test_extract_table_references(mocker: MockerFixture) -> None:
|
||||
Table(table="other_table", schema=None, catalog=None)
|
||||
}
|
||||
logger.warning.assert_not_called()
|
||||
|
||||
|
||||
def test_is_select() -> None:
|
||||
"""
|
||||
Test `is_select`.
|
||||
"""
|
||||
assert not ParsedQuery("SELECT 1; DROP DATABASE superset").is_select()
|
||||
|
||||
Reference in New Issue
Block a user