mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
test: autouse app_context in unit tests (#20911)
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
# under the License.
|
||||
# pylint: disable=unused-argument, import-outside-toplevel, protected-access
|
||||
import pytest
|
||||
from flask.ctx import AppContext
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
@@ -32,7 +31,6 @@ from flask.ctx import AppContext
|
||||
],
|
||||
)
|
||||
def test_apply_top_to_sql_limit(
|
||||
app_context: AppContext,
|
||||
limit: int,
|
||||
original: str,
|
||||
expected: str,
|
||||
|
||||
Reference in New Issue
Block a user