mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
test: autouse app_context in unit tests (#20911)
This commit is contained in:
@@ -102,7 +102,7 @@ def client(app: SupersetApp) -> Any:
|
||||
yield client
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@pytest.fixture(autouse=True)
|
||||
def app_context(app: SupersetApp) -> Iterator[None]:
|
||||
"""
|
||||
A fixture that yields and application context.
|
||||
|
||||
Reference in New Issue
Block a user