mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
Fix bad test (#9735)
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
@@ -540,7 +540,7 @@ class SupersetTestCase(unittest.TestCase):
|
||||
SELECT * FROM birth_names;
|
||||
-- some comment
|
||||
"""
|
||||
parsed = sql_parse.ParsedQuery(multi_sql)
|
||||
parsed = ParsedQuery(multi_sql)
|
||||
statements = parsed.get_statements()
|
||||
self.assertEqual(len(statements), 1)
|
||||
expected = ["SELECT * FROM birth_names"]
|
||||
|
||||
Reference in New Issue
Block a user