mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: bump werkzeug and Flask (#23965)
This commit is contained in:
committed by
GitHub
parent
f7dd52b8f5
commit
97482c57b5
@@ -17,6 +17,7 @@
|
||||
import pytest
|
||||
|
||||
from superset.utils.core import form_data_to_adhoc, simple_filter_to_adhoc
|
||||
from tests.integration_tests.test_app import app
|
||||
|
||||
|
||||
def test_simple_filter_to_adhoc_generates_deterministic_values():
|
||||
@@ -81,4 +82,5 @@ def test_form_data_to_adhoc_incorrect_clause_type():
|
||||
form_data = {"where": "1 = 1", "having": "count(*) > 1"}
|
||||
|
||||
with pytest.raises(ValueError):
|
||||
form_data_to_adhoc(form_data, "foobar")
|
||||
with app.app_context():
|
||||
form_data_to_adhoc(form_data, "foobar")
|
||||
|
||||
Reference in New Issue
Block a user