mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
This commit is contained in:
committed by
GitHub
parent
a2947d0c23
commit
c9aa4a1f84
@@ -575,9 +575,9 @@ class TestSqlLab(SupersetTestCase):
|
||||
assert data["status"] == "success"
|
||||
|
||||
data = self.run_sql(
|
||||
"SELECT * FROM birth_names WHERE state = '{{ state }}' -- blabblah {{ extra1 }}\nLIMIT 10",
|
||||
"SELECT * FROM birth_names WHERE state = '{{ state }}' -- blabblah {{ extra1 }} {{fake.fn()}}\nLIMIT 10",
|
||||
"3",
|
||||
template_params=json.dumps({"state": "CA", "extra1": "comment"}),
|
||||
template_params=json.dumps({"state": "CA"}),
|
||||
)
|
||||
assert data["status"] == "success"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user